Commit Graph

1511 Commits (master)

Author SHA1 Message Date
kai 6154d953ba add pdh-test 2021-08-18 17:41:01 +08:00
bors[bot] 323ed54989
Merge #434
434: Adding optimized signal generator r=jordens a=ryan-summers

This PR fixes #415 by implementing the proposed changes to reduce processing overhead.

Unfortunately, even with these changes, it appears to not be possible to stream at full data rate even when using square waves - there are still losses of ~0.5% of frames.

These changes were run with a signal frequency/amplitude/symmetry sweep from 500Hz-1KHz, Symmetry 0-1, and amplitude 1V -> 2V and output waveform on a scope looked well-formed.

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-10 19:46:44 +00:00
Ryan Summers 3b055b8165 Updating after review 2021-08-10 16:45:17 +02:00
Ryan Summers a797a92ffd Merge branch 'master' into feature/signal-generator-optimization 2021-08-10 16:37:56 +02:00
bors[bot] 4bfa3cb451
Merge #426
426: Feature/streaming hitl r=ryan-summers a=ryan-summers

This PR fixes #386 by implementing HITL tests for the data livestream functionalities of Stabilizer.

- [x] This should be merged after https://github.com/quartiq/stabilizer/pull/425

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-10 14:13:21 +00:00
Ryan Summers 19490209dd Fixing verbage 2021-08-10 14:13:02 +02:00
Ryan Summers d1b0a6956a Adding optimized signal generator 2021-08-10 13:39:33 +02:00
Ryan Summers b8910f9b34 Updating stream test to allow for dropped frames 2021-08-10 13:24:06 +02:00
bors[bot] 4738a15886
Merge #424
424: build(deps): bump embedded-hal from 0.2.5 to 0.2.6 r=jordens a=dependabot[bot]

Bumps [embedded-hal](https://github.com/rust-embedded/embedded-hal) from 0.2.5 to 0.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-embedded/embedded-hal/releases">embedded-hal's releases</a>.</em></p>
<blockquote>
<h2>Release 0.2.6</h2>
<h3>Added</h3>
<p>Backported non-breaking changes from the upcoming 1.0 release:</p>
<ul>
<li><code>Transactional</code> SPI interface for executing groups of SPI transactions.</li>
<li><code>Transactional</code> I2C interface for executing groups of I2C transactions.</li>
<li>10-bit addressing mode for I2C traits.</li>
<li><code>set_state</code> method for <code>OutputPin</code> using an input <code>PinState</code> value.</li>
<li><code>IoPin</code> trait for pins that can change between being inputs or outputs
dynamically.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-embedded/embedded-hal/blob/v0.2.6/CHANGELOG.md">embedded-hal's changelog</a>.</em></p>
<blockquote>
<h2>[v0.2.6] - 2021-08-03</h2>
<h3>Added</h3>
<p>Backported non-breaking changes from the upcoming 1.0 release:</p>
<ul>
<li><code>Transactional</code> SPI interface for executing groups of SPI transactions.</li>
<li><code>Transactional</code> I2C interface for executing groups of I2C transactions.</li>
<li>10-bit addressing mode for I2C traits.</li>
<li><code>set_state</code> method for <code>OutputPin</code> using an input <code>PinState</code> value.</li>
<li><code>IoPin</code> trait for pins that can change between being inputs or outputs
dynamically.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bccb903e8d"><code>bccb903</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/embedded-hal/issues/303">#303</a></li>
<li><a href="3364207888"><code>3364207</code></a> Prepare 0.2.6 release</li>
<li><a href="7199533928"><code>7199533</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/embedded-hal/issues/301">#301</a></li>
<li><a href="769b933390"><code>769b933</code></a> update changelog</li>
<li><a href="d84543f13a"><code>d84543f</code></a> backport spi::Transactional</li>
<li><a href="1ef9f26b3e"><code>1ef9f26</code></a> backport digital</li>
<li><a href="77b262dfaf"><code>77b262d</code></a> backport i2c</li>
<li>See full diff in <a href="https://github.com/rust-embedded/embedded-hal/compare/v0.2.5...v0.2.6">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=embedded-hal&package-manager=cargo&previous-version=0.2.5&new-version=0.2.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-10 11:01:55 +00:00
Ryan Summers 08f5d5da5d
Merge pull request #432 from quartiq/rs/manual-publication
Correcting Stabilizer user manual release workflow
2021-08-09 17:40:12 +02:00
Ryan Summers 199ee38058
Update hitl/run.sh
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-08-09 17:00:42 +02:00
Ryan Summers e601fe62cc Fixing directory, site-url 2021-08-09 16:54:19 +02:00
Ryan Summers 519764c948 Fixing publish directory 2021-08-09 16:40:49 +02:00
Ryan Summers 9add1f0b88 Fixing pipe on run 2021-08-09 16:26:27 +02:00
Ryan Summers 5d7cac2293 Updating clear method 2021-08-09 16:23:18 +02:00
bors[bot] c8acfe98ab
Merge #431
431: Adding mdbook-based user manual r=ryan-summers a=ryan-summers

This PR fixes #428 by removing Jekyll in favor of using mdbook to generate documentation for Stabilizer.

Sample overview page:
![image](https://user-images.githubusercontent.com/8771450/128714012-bb017fda-4ff4-47dc-9d3a-b32d1ba1c663.png)

TODO:
 - Verify release CI

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-09 13:37:45 +00:00
Ryan Summers a1fb120010 Fixing gitignore 2021-08-09 15:36:58 +02:00
Ryan Summers 52dbe01136 Installing linkcheck for CI 2021-08-09 15:30:09 +02:00
Ryan Summers c30a222da2 Fixing workflow 2021-08-09 15:26:24 +02:00
Ryan Summers e0341620da Removing stale markdown 2021-08-09 15:23:47 +02:00
Ryan Summers e7755590fc Updating authors 2021-08-09 15:22:57 +02:00
Ryan Summers 37688e70a3 Adding mdbook-based user manual 2021-08-09 15:21:42 +02:00
Ryan Summers e478dfc70f Fixing miniconf API after updates 2021-08-09 14:18:09 +02:00
Ryan Summers bfbe807690 Merge branch 'master' into feature/streaming-hitl 2021-08-09 14:15:40 +02:00
bors[bot] 592ce859de
Merge #427
427: Feature/miniconf client refactor r=ryan-summers a=ryan-summers

This PR removes the `MiniconfClient` source code, which has been moved to `miniconf`. It also updates to utilize `minimq` v0.3, which was recently released.

- [x] This should be merged after https://github.com/quartiq/miniconf/pull/45

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-09 12:04:27 +00:00
Ryan Summers 05210fc1e7 Fixing dependency rev 2021-08-09 14:01:11 +02:00
bors[bot] 1a75859311
Merge #430
430: Adding docker instructions r=ryan-summers a=ryan-summers

This PR fixes #429 by updating the getting started page to direct users to run Mosquitto through docker. The experience is honestly a lot better on all platforms (in my experience).

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-09 11:58:17 +00:00
Ryan Summers ef77b035d8 Merge branch 'master' into feature/streaming-hitl 2021-08-09 13:57:09 +02:00
Ryan Summers 726edc576b Adding verbage to indicate cross-platform support for Docker, adding note about start/stop of container 2021-08-09 13:53:05 +02:00
bors[bot] 555f1e2d1b
Merge #425
425: Feature/loopback hitl r=ryan-summers a=ryan-summers

This PR fixes #354 by implementing loop-back HITL tests for Stabilizer.

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-08-09 11:50:06 +00:00
Ryan Summers 08cecb4045 Adding docker instructions 2021-08-09 13:12:27 +02:00
Ryan Summers b019563485 Updating after review 2021-08-09 12:50:58 +02:00
Ryan Summers 44723cd460 Merge branch 'feature/loopback-hitl' into feature/streaming-hitl 2021-08-06 14:00:32 +02:00
Ryan Summers cf1d5ed533 Fixing format 2021-08-06 13:58:09 +02:00
Ryan Summers 3caa946b17 Moving miniconf client out of Stabilizer 2021-08-06 13:57:53 +02:00
Ryan Summers a6b98ab877 Updating docs for Miniconf 2021-08-06 13:46:46 +02:00
Ryan Summers 7b52722626 Refactoring loopback HITL test 2021-08-06 13:41:53 +02:00
Ryan Summers 824b6763e1 Adding livestream HITL test 2021-08-05 16:21:55 +02:00
Ryan Summers 1b1a5052c2 Updating version definition 2021-08-05 15:43:00 +02:00
Ryan Summers 55c211631b Updating run script 2021-08-05 15:23:47 +02:00
Ryan Summers 0dfdc5808a Cleaning up files 2021-08-05 15:08:34 +02:00
Ryan Summers 1d082c28c3 Reorganizing miniconf, adding loopback test 2021-08-05 15:05:55 +02:00
dependabot[bot] 3c823b7311
build(deps): bump embedded-hal from 0.2.5 to 0.2.6
Bumps [embedded-hal](https://github.com/rust-embedded/embedded-hal) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/rust-embedded/embedded-hal/releases)
- [Changelog](https://github.com/rust-embedded/embedded-hal/blob/v0.2.6/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/embedded-hal/compare/v0.2.5...v0.2.6)

---
updated-dependencies:
- dependency-name: embedded-hal
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 04:01:47 +00:00
bors[bot] f7c77bd860
Merge #421 #423
421: build(deps): bump serde from 1.0.126 to 1.0.127 r=jordens a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.127</h2>
<ul>
<li>Resolve warning in rustc nightly-2021-07-31+ compiling serde_test</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e2f85681fe"><code>e2f8568</code></a> Release 1.0.127</li>
<li><a href="8b840c3030"><code>8b840c3</code></a> Resolve semicolon_in_expressions_from_macros warning in serde_test</li>
<li><a href="9c39115f82"><code>9c39115</code></a> Ignore buggy nonstandard_macro_braces clippy lint</li>
<li><a href="89342af71e"><code>89342af</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2047">#2047</a> from jsoref/spelling</li>
<li><a href="3c5e2d11f6"><code>3c5e2d1</code></a> spelling: implicitly</li>
<li><a href="3805c037a8"><code>3805c03</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2040">#2040</a> from dtolnay/test</li>
<li><a href="7045fee260"><code>7045fee</code></a> Fix outdated test instructions in CONTRIBUTING.md</li>
<li><a href="9d81532e41"><code>9d81532</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2039">#2039</a> from dtolnay/test</li>
<li><a href="5e47432ef0"><code>5e47432</code></a> Update documented test command for the serde directory</li>
<li><a href="7b840897a9"><code>7b84089</code></a> Resolve needless_borrow clippy lints</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.126&new-version=1.0.127)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

423: build(deps): bump num_enum from 0.5.2 to 0.5.3 r=jordens a=dependabot[bot]

Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.2 to 0.5.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a5c5868bb7"><code>a5c5868</code></a> Bump to 0.5.3 (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/55">#55</a>)</li>
<li><a href="8cf11d9b86"><code>8cf11d9</code></a> Remove obsolete overrides</li>
<li><a href="9b005f7140"><code>9b005f7</code></a> Remove soon-to-be-disallowed trailing semicolons</li>
<li><a href="603ffbd164"><code>603ffbd</code></a> Fix test expectations after 1.54 release (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/52">#52</a>)</li>
<li>See full diff in <a href="https://github.com/illicitonion/num_enum/compare/0.5.2...0.5.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=num_enum&package-manager=cargo&previous-version=0.5.2&new-version=0.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-04 10:58:09 +00:00
bors[bot] d5a7796876
Merge #420
420: Miscellaneous r=jordens a=jordens

* dds: name consistently
* dds: inline
* refactor the broker ip parsing to be panicing
* speed up qspi to 100 MHz (tested)
* tweak pounder qspi xfer assembly padding for speed
* fix some clippy lints
* try 32 byte max qspi xfer size instead of 16 but revert that until the memclr that's being pulled is can be avoided.

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-08-04 10:52:37 +00:00
Robert Jördens 2a90697834 qspi: expand padding comments 2021-08-04 10:50:42 +00:00
dependabot[bot] 67d6f24c1a
build(deps): bump num_enum from 0.5.2 to 0.5.3
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.2...0.5.3)

---
updated-dependencies:
- dependency-name: num_enum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 04:01:33 +00:00
Robert Jördens b7c4858a1d revert to 16 byte dds profile
... as 32 pulls in a slow memclr in flash

A case for MaybeUninit?
2021-08-03 09:44:13 +00:00
Robert Jördens a05fb6b536 pounder/ad9959: clippy lints 2021-08-03 09:40:31 +00:00
Robert Jördens 8802b60fcf fmt 2021-08-03 08:47:37 +00:00