Commit Graph

1506 Commits (4bfa3cb451b7d829fdd3ca0e0f8518d770f79aaa)

Author SHA1 Message Date
bors[bot] f29a6639a2
Merge #405
405: Accelerating doc CI tests r=jordens a=ryan-summers

This PR fixes #403 by utilize github actions caches to accelerate the doc test CI check. `cargo-deadlinks` is cached, ruby gems are cached, and Rust dependency installations are cached.

Questions:
Should the Rust cache be tagged on a specific key so that we don't pollute the cache with each PR?

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-07-19 13:59:07 +00:00
Ryan Summers 51cef9f515
Update src/configuration.rs
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-19 15:06:57 +02:00
Ryan Summers 58ceb4f307 Forcing rerun 2021-07-19 14:51:44 +02:00
Ryan Summers 232a3a8c95 Using bundle version for rake 2021-07-19 14:40:32 +02:00
Ryan Summers 1c32695a49 Fixing math 2021-07-19 14:37:34 +02:00
Ryan Summers e2d2ce0752
Apply suggestions from code review
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-19 14:12:48 +02:00
Ryan Summers a263835dd2 Simplifying rust cache 2021-07-19 14:07:09 +02:00
Ryan Summers 5cc1c68d50 Hashing bins for unique cache key 2021-07-19 13:56:39 +02:00
Ryan Summers 5b949d2492 Fixing path 2021-07-19 13:55:21 +02:00
Ryan Summers 820f7665a7 fixing caching 2021-07-19 13:48:10 +02:00
Ryan Summers 8f6ec3d7e4 fixing key name 2021-07-19 13:33:27 +02:00
Ryan Summers fee324fe80 Updating steps 2021-07-19 13:32:18 +02:00
Ryan Summers 1c605623c2 fixing clippy 2021-07-19 13:30:12 +02:00
Ryan Summers fc1f4f5aaa Refactoring docs workflow 2021-07-19 13:25:14 +02:00
Ryan Summers 19bcc87c7f Adding error message 2021-07-19 13:05:15 +02:00
Ryan Summers e1cfeff65f Updating config to reject out-of-bounds amplitudes 2021-07-19 13:01:31 +02:00
Ryan Summers 2f6e2a5ef5 Simplifying calculation for signals 2021-07-19 12:46:06 +02:00
Ryan Summers 6d8273ec42 Merge branch 'master' into feature/scan-mode 2021-07-19 11:55:18 +02:00
bors[bot] 0918b3445e
Merge #397
397: build(deps): bump heapless from 0.7.2 to 0.7.3 r=jordens a=dependabot[bot]

Bumps [heapless](https://github.com/japaric/heapless) from 0.7.2 to 0.7.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/japaric/heapless/blob/master/CHANGELOG.md">heapless's changelog</a>.</em></p>
<blockquote>
<h2>[v0.7.3] - 2021-07-1</h2>
<h3>Changed</h3>
<ul>
<li><code>Box::freeze</code> is deprecated due to possibility of undefined behavior.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2390ab798c"><code>2390ab7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/japaric/heapless/issues/217">#217</a> from japaric/deprecate-freeze-v0.7.3</li>
<li><a href="01f16f1716"><code>01f16f1</code></a> Deprecate <code>Box::freeze</code>, prepare v0.7.3</li>
<li>See full diff in <a href="https://github.com/japaric/heapless/compare/v0.7.2...v0.7.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=heapless&package-manager=cargo&previous-version=0.7.2&new-version=0.7.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-07-16 14:56:17 +00:00
dependabot[bot] bac1607d17
build(deps): bump heapless from 0.7.2 to 0.7.3
Bumps [heapless](https://github.com/japaric/heapless) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/japaric/heapless/releases)
- [Changelog](https://github.com/japaric/heapless/blob/master/CHANGELOG.md)
- [Commits](https://github.com/japaric/heapless/compare/v0.7.2...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 14:54:23 +00:00
bors[bot] 6ffc4b36fa
Merge #398 #399 #402
398: build(deps): bump cortex-m from 0.7.2 to 0.7.3 r=jordens a=dependabot[bot]

Bumps [cortex-m](https://github.com/rust-embedded/cortex-m) from 0.7.2 to 0.7.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-embedded/cortex-m/releases">cortex-m's releases</a>.</em></p>
<blockquote>
<h2>v0.7.3</h2>
<h2>[v0.7.3] - 2021-07-03</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed compilation for native targets on non-x86 host systems (<a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/336">#336</a>, <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/337">#337</a>).</li>
</ul>
<h3>Added</h3>
<ul>
<li>The <code>Delay</code> struct now offers direct <code>delay_us()</code> and <code>delay_ms()</code> methods
without having to go through the embedded-hal traits (<a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/344">#344</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md">cortex-m's changelog</a>.</em></p>
<blockquote>
<h2>[v0.7.3] - 2021-07-03</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed compilation for native targets on non-x86 host systems (<a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/336">#336</a>, <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/337">#337</a>).</li>
</ul>
<h3>Added</h3>
<ul>
<li>The <code>Delay</code> struct now offers direct <code>delay_us()</code> and <code>delay_ms()</code> methods
without having to go through the embedded-hal traits (<a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/344">#344</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45e7ab7266"><code>45e7ab7</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/345">#345</a></li>
<li><a href="1747d44c2a"><code>1747d44</code></a> Prepare for v0.7.3.</li>
<li><a href="47246ecc06"><code>47246ec</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/344">#344</a></li>
<li><a href="4a393e091b"><code>4a393e0</code></a> Update src/delay.rs</li>
<li><a href="81336573bc"><code>8133657</code></a> Use from instead of as</li>
<li><a href="7329f57108"><code>7329f57</code></a> remove inline on delay_us, and made u32 conversion syntax consistent</li>
<li><a href="d13ebd2015"><code>d13ebd2</code></a> Use . syntax instead of :: on delay_ms</li>
<li><a href="1a2b6eaaf6"><code>1a2b6ea</code></a> Use overflow-workaround on delay_ms</li>
<li><a href="cf5dbcd902"><code>cf5dbcd</code></a> Remove dependence on embedded-hal for Delay</li>
<li><a href="1a4e09646a"><code>1a4e096</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/341">#341</a></li>
<li>Additional commits viewable in <a href="https://github.com/rust-embedded/cortex-m/compare/v0.7.2...v0.7.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cortex-m&package-manager=cargo&previous-version=0.7.2&new-version=0.7.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>

399: build(deps): bump cortex-m-rtic from 0.5.6 to 0.5.7 r=jordens a=dependabot[bot]

Bumps [cortex-m-rtic](https://github.com/rtic-rs/cortex-m-rtic) from 0.5.6 to 0.5.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rtic-rs/cortex-m-rtic/blob/v0.5.7/CHANGELOG.md">cortex-m-rtic's changelog</a>.</em></p>
<blockquote>
<h2>[v0.5.7] - 2021-07-05</h2>
<ul>
<li>Backport: &quot;you must enable the rt feature&quot; compile time detection</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="356f53ddc3"><code>356f53d</code></a> v0.5.7 release</li>
<li><a href="aa835e848b"><code>aa835e8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rtic-rs/cortex-m-rtic/issues/493">#493</a> from rtic-rs/you-must-enable-the-rt-feature</li>
<li><a href="b704894b03"><code>b704894</code></a> run cargo fmt</li>
<li><a href="73a4d7c8bd"><code>73a4d7c</code></a> improve the error message</li>
<li><a href="f042807d43"><code>f042807</code></a> generate error if &quot;rt&quot; feature is not enabled</li>
<li>See full diff in <a href="https://github.com/rtic-rs/cortex-m-rtic/compare/v0.5.6...v0.5.7">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cortex-m-rtic&package-manager=cargo&previous-version=0.5.6&new-version=0.5.7)](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>

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

Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.1 to 0.5.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="bb8a680bd3"><code>bb8a680</code></a> Release 0.5.2 (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/51">#51</a>)</li>
<li><a href="606b5d37b8"><code>606b5d3</code></a> Use extended_key_value_attributes for rustdoc (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/50">#50</a>)</li>
<li><a href="8385dc995b"><code>8385dc9</code></a> Bump proc-macro-crate to 1 (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/48">#48</a>)</li>
<li><a href="1c820e2bef"><code>1c820e2</code></a> Update expected error messages (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/49">#49</a>)</li>
<li><a href="d0ac4cd13e"><code>d0ac4cd</code></a> Give a friendly error for enums with fields (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/45">#45</a>)</li>
<li><a href="0e2030c2ef"><code>0e2030c</code></a> Fix test expectations on nightly (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/46">#46</a>)</li>
<li><a href="83dab7df14"><code>83dab7d</code></a> Fix test expectation on beta (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/43">#43</a>)</li>
<li><a href="380e108908"><code>380e108</code></a> Remove unnecessary <code>unsafe</code> blocks from FromPrimitive example (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/42">#42</a>)</li>
<li><a href="6b52ecdab0"><code>6b52ecd</code></a> Fix nightly test expectation again (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/40">#40</a>)</li>
<li><a href="7343332c02"><code>7343332</code></a> Fix nightly test expectation (<a href="https://github-redirect.dependabot.com/illicitonion/num_enum/issues/39">#39</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/illicitonion/num_enum/compare/0.5.1...0.5.2">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.1&new-version=0.5.2)](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-07-16 14:42:25 +00:00
bors[bot] 4828a45ca9
Merge #404
404: rj/fix/docs r=jordens a=jordens

- make bors wait for doc CI
- deadlinks: also check http


Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-16 14:28:18 +00:00
Robert Jördens 5a17b4b320 deadlinks: also check http 2021-07-16 16:07:59 +02:00
Robert Jördens 80b2239255 make bors wait for doc CI 2021-07-16 16:07:28 +02:00
dependabot[bot] 2a41740493
build(deps): bump cortex-m-rtic from 0.5.6 to 0.5.7
Bumps [cortex-m-rtic](https://github.com/rtic-rs/cortex-m-rtic) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/rtic-rs/cortex-m-rtic/releases)
- [Changelog](https://github.com/rtic-rs/cortex-m-rtic/blob/v0.5.7/CHANGELOG.md)
- [Commits](https://github.com/rtic-rs/cortex-m-rtic/compare/v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: cortex-m-rtic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 13:51:31 +00:00
dependabot[bot] 42d4cb6a86
build(deps): bump num_enum from 0.5.1 to 0.5.2
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.1...0.5.2)

---
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-07-16 13:51:16 +00:00
dependabot[bot] baa20acef8
build(deps): bump cortex-m from 0.7.2 to 0.7.3
Bumps [cortex-m](https://github.com/rust-embedded/cortex-m) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/rust-embedded/cortex-m/releases)
- [Changelog](https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-embedded/cortex-m/compare/v0.7.2...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 13:51:13 +00:00
Ryan Summers 39f4e27d15
Merge pull request #401 from quartiq/feature/pages-docs
Adding Stabilizer User Manual
2021-07-16 15:49:58 +02:00
Ryan Summers ba5101ff1d Ignoring quartiq URLs not existing 2021-07-16 15:31:24 +02:00
Ryan Summers 5d0fd18a53 Reverting unintended config change 2021-07-16 15:15:42 +02:00
Ryan Summers f80ad2de12 Fixing permalink 2021-07-16 15:15:01 +02:00
Ryan Summers a136590ec8 Merge branch 'feature/pages-docs' of github.com:quartiq/stabilizer into feature/pages-docs 2021-07-16 15:00:54 +02:00
Ryan Summers 8b38f42856 Fixing path 2021-07-16 15:00:40 +02:00
Ryan Summers 414c803ecd
Update docs/pages/usage.md
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-16 14:42:56 +02:00
Ryan Summers bd679a084f Adding spaces to docs 2021-07-16 14:36:46 +02:00
Ryan Summers d8579a5b3e Reorganizing to usage 2021-07-16 14:34:49 +02:00
Ryan Summers afb1c87b2a Reorganizing getting-started 2021-07-16 14:29:51 +02:00
Ryan Summers 444e61b32b Merge branch 'feature/pages-docs' of github.com:quartiq/stabilizer into feature/pages-docs 2021-07-16 14:25:41 +02:00
Ryan Summers 661c3746af Updating docs on telemetry 2021-07-16 14:25:37 +02:00
Ryan Summers f67a56c2cd
Apply suggestions from code review
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-16 14:24:00 +02:00
Ryan Summers fba60ef990 Fixing CI 2021-07-16 14:12:08 +02:00
Ryan Summers d6dfbd2c88 Adding Rakefile 2021-07-16 13:16:30 +02:00
Ryan Summers 2f8b49bbc5 Fixing target path 2021-07-16 13:03:50 +02:00
Ryan Summers e1064bf403 Allowing signal generator to update any time 2021-07-16 12:58:59 +02:00
Ryan Summers b319fe2c6b Refactoring signal generation to utilize static tuning words 2021-07-16 12:55:11 +02:00
Ryan Summers f38ede6f74 Removing forced execution 2021-07-16 11:41:14 +02:00
Ryan Summers 12427ead20 Updating deadlinks to ignore fragments 2021-07-16 11:36:39 +02:00
Ryan Summers 6058573e7e Fixing workflow 2021-07-16 11:25:28 +02:00
Ryan Summers 0c3a99b6b6 Fixing links, adding htmlproofer 2021-07-16 11:23:01 +02:00
Ryan Summers 9c6b8b48d3 Updating docs release to force orphan commit 2021-07-15 14:10:00 +02:00