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>
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>
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>
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>
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>
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>
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>
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>