Commit Graph

1365 Commits

Author SHA1 Message Date
5d0fd18a53 Reverting unintended config change 2021-07-16 15:15:42 +02:00
f80ad2de12 Fixing permalink 2021-07-16 15:15:01 +02:00
a136590ec8 Merge branch 'feature/pages-docs' of github.com:quartiq/stabilizer into feature/pages-docs 2021-07-16 15:00:54 +02:00
8b38f42856 Fixing path 2021-07-16 15:00:40 +02:00
414c803ecd
Update docs/pages/usage.md
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-16 14:42:56 +02:00
bd679a084f Adding spaces to docs 2021-07-16 14:36:46 +02:00
d8579a5b3e Reorganizing to usage 2021-07-16 14:34:49 +02:00
afb1c87b2a Reorganizing getting-started 2021-07-16 14:29:51 +02:00
444e61b32b Merge branch 'feature/pages-docs' of github.com:quartiq/stabilizer into feature/pages-docs 2021-07-16 14:25:41 +02:00
661c3746af Updating docs on telemetry 2021-07-16 14:25:37 +02:00
f67a56c2cd
Apply suggestions from code review
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-07-16 14:24:00 +02:00
fba60ef990 Fixing CI 2021-07-16 14:12:08 +02:00
d6dfbd2c88 Adding Rakefile 2021-07-16 13:16:30 +02:00
2f8b49bbc5 Fixing target path 2021-07-16 13:03:50 +02:00
f38ede6f74 Removing forced execution 2021-07-16 11:41:14 +02:00
12427ead20 Updating deadlinks to ignore fragments 2021-07-16 11:36:39 +02:00
6058573e7e Fixing workflow 2021-07-16 11:25:28 +02:00
0c3a99b6b6 Fixing links, adding htmlproofer 2021-07-16 11:23:01 +02:00
9c6b8b48d3 Updating docs release to force orphan commit 2021-07-15 14:10:00 +02:00
b9c1a80df0 Fixing feature unification issue 2021-07-15 14:07:30 +02:00
f1947db6c9 Squashing manual changes 2021-07-15 13:28:19 +02:00
bors[bot]
abe810f8d6
Merge #384
384: build(deps): bump rand from 0.8.3 to 0.8.4 r=ryan-summers a=dependabot[bot]

Bumps [rand](https://github.com/rust-random/rand) from 0.8.3 to 0.8.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand's changelog</a>.</em></p>
<blockquote>
<h2>[0.8.4] - 2021-06-15</h2>
<h3>Additions</h3>
<ul>
<li>Use const-generics to support arrays of all sizes (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1104">#1104</a>)</li>
<li>Implement <code>Clone</code> and <code>Copy</code> for <code>Alphanumeric</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1126">#1126</a>)</li>
<li>Add <code>Distribution::map</code> to derive a distribution using a closure (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1129">#1129</a>)</li>
<li>Add <code>Slice</code> distribution (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1107">#1107</a>)</li>
<li>Add <code>DistString</code> trait with impls for <code>Standard</code> and <code>Alphanumeric</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1133">#1133</a>)</li>
</ul>
<h3>Other</h3>
<ul>
<li>Reorder asserts in <code>Uniform</code> float distributions for easier debugging of non-finite arguments
(<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1094">#1094</a>, <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1108">#1108</a>)</li>
<li>Add range overflow check in <code>Uniform</code> float distributions (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1108">#1108</a>)</li>
<li>Deprecate <code>rngs::adapter::ReadRng</code> (<a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1130">#1130</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8792268dfe"><code>8792268</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1137">#1137</a> from rust-random/work2</li>
<li><a href="1bfc53d57f"><code>1bfc53d</code></a> Update changelogs and bump version numbers</li>
<li><a href="453431146d"><code>4534311</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1133">#1133</a> from rust-random/work2</li>
<li><a href="81f1af8f4f"><code>81f1af8</code></a> Correct usage of reserve</li>
<li><a href="fa17d1c1a2"><code>fa17d1c</code></a> Add comment to append_string for Standard</li>
<li><a href="b4c1d66409"><code>b4c1d66</code></a> Add DistString</li>
<li><a href="1947c899f7"><code>1947c89</code></a> Move Distribution trait and associates to sub-module</li>
<li><a href="98a0339f99"><code>98a0339</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1135">#1135</a> from dhardy/work</li>
<li><a href="a7f8fb72d7"><code>a7f8fb7</code></a> Prepare rand_chacha v0.3.1 release</li>
<li><a href="09d3df3119"><code>09d3df3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/rand/issues/1130">#1130</a> from dhardy/work</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/0.8.3...0.8.4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rand&package-manager=cargo&previous-version=0.8.3&new-version=0.8.4)](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-01 12:01:06 +00:00
dependabot[bot]
3f0c5b1648
build(deps): bump rand from 0.8.3 to 0.8.4
Bumps [rand](https://github.com/rust-random/rand) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.8.3...0.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 11:57:08 +00:00
bors[bot]
ff10987618
Merge #379
379: build(deps): bump ndarray from 0.15.2 to 0.15.3 r=ryan-summers a=dependabot[bot]

Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.15.2 to 0.15.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md">ndarray's changelog</a>.</em></p>
<blockquote>
<h1>Version 0.15.3 (2021-06-05)</h1>
<h2>New features</h2>
<ul>
<li>
<p>New methods <code>.last/_mut()</code> for arrays and array views by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1013">rust-ndarray/ndarray#1013</a></p>
</li>
</ul>
<h2>Bug fixes</h2>
<ul>
<li>
<p>Fix <code>as_slice_memory_order_mut()</code> so that it never changes strides (the
memory layout) of the array when called.</p>
<p>This was a bug that impacted <code>ArcArray</code> (and for example not <code>Array</code> or <code>ArrayView/Mut</code>),
and multiple methods on <code>ArcArray</code> that use <code>as_slice_memory_order_mut</code> (for example <code>map_mut</code>).
Fix by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>].</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1019">rust-ndarray/ndarray#1019</a></p>
</li>
</ul>
<h2>API changes</h2>
<ul>
<li>
<p>Array1 now implements <code>From&lt;Box&lt;[T]&gt;&gt;</code> by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1016">rust-ndarray/ndarray#1016</a></p>
</li>
<li>
<p>ArcArray now implements <code>From&lt;Array&lt;...&gt;&gt;</code> by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1021">rust-ndarray/ndarray#1021</a></p>
</li>
<li>
<p>CowArray now implements RawDataSubst by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1020">rust-ndarray/ndarray#1020</a></p>
</li>
</ul>
<h2>Other changes</h2>
<ul>
<li>
<p>Mention unsharing in <code>.as_mut_ptr</code> docs by [<a href="https://github.com/jturner314"><code>@​jturner314</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1017">rust-ndarray/ndarray#1017</a></p>
</li>
<li>
<p>Clarify and fix minor errors in push/append method docs by [<a href="https://github.com/bluss"><code>@​bluss</code></a>] f21c668a</p>
</li>
<li>
<p>Fix several warnings in doc example code by [<a href="https://github.com/bluss"><code>@​bluss</code></a>]</p>
<p><a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/pull/1009">rust-ndarray/ndarray#1009</a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="307234e71d"><code>307234e</code></a> 0.15.3</li>
<li><a href="27d798b11a"><code>27d798b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1016">#1016</a> from jturner314/from-boxed-slice</li>
<li><a href="f5c18a51a6"><code>f5c18a5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1021">#1021</a> from jturner314/impl-from-Array-for-ArcArray</li>
<li><a href="6faac1e195"><code>6faac1e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1013">#1013</a> from jturner314/array-last-method</li>
<li><a href="81662ae42e"><code>81662ae</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1019">#1019</a> from jturner314/improve-as_slice_memory_order_mut</li>
<li><a href="1daff267d3"><code>1daff26</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1017">#1017</a> from jturner314/doc-unsharing</li>
<li><a href="35e9ca2e24"><code>35e9ca2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-ndarray/ndarray/issues/1020">#1020</a> from jturner314/impl-RawDataSubst-for-CowRepr</li>
<li><a href="0d9d382d51"><code>0d9d382</code></a> Implement From&lt;Array<!-- raw HTML omitted --></li>
<li><a href="01d67134ad"><code>01d6713</code></a> Implement RawDataSubst for CowRepr</li>
<li><a href="37645bdd58"><code>37645bd</code></a> Guarantee that as_slice_memory_order_mut preserves strides</li>
<li>Additional commits viewable in <a href="https://github.com/rust-ndarray/ndarray/compare/0.15.2...0.15.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ndarray&package-manager=cargo&previous-version=0.15.2&new-version=0.15.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-01 11:50:23 +00:00
dependabot[bot]
bd46704b0c
build(deps): bump ndarray from 0.15.2 to 0.15.3
Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-ndarray/ndarray/compare/0.15.2...0.15.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 11:36:51 +00:00
bors[bot]
171cdef37f
Merge #396
396: build(deps): bump heapless from 0.7.1 to 0.7.2 r=ryan-summers a=dependabot[bot]

Bumps [heapless](https://github.com/japaric/heapless) from 0.7.1 to 0.7.2.
<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.2] - 2021-06-30</h2>
<h3>Added</h3>
<ul>
<li>Added new <code>Vec::into_array</code> method</li>
<li>Added const-asserts to all data structures</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1d502c09a8"><code>1d502c0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/japaric/heapless/issues/215">#215</a> from japaric/v0.7.2-release</li>
<li><a href="295e115542"><code>295e115</code></a> Preparing v0.7.2</li>
<li><a href="22e4c73383"><code>22e4c73</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/japaric/heapless/issues/211">#211</a> from GrantM11235/vec_into_array</li>
<li><a href="90daba17b8"><code>90daba1</code></a> Add new <code>Vec::into_array</code> method</li>
<li>See full diff in <a href="https://github.com/japaric/heapless/compare/v0.7.1...v0.7.2">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.1&new-version=0.7.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-01 11:30:33 +00:00
dependabot[bot]
656ff3b9a2
build(deps): bump heapless from 0.7.1 to 0.7.2
Bumps [heapless](https://github.com/japaric/heapless) from 0.7.1 to 0.7.2.
- [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.1...v0.7.2)

---
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-01 04:02:37 +00:00
bors[bot]
9e4f19a90f
Merge #395
395: iir_int: enable limits and offset r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-25 13:25:28 +00:00
3a3cbce005 iir_int: enable limits and offset 2021-06-25 13:23:35 +00:00
bors[bot]
a4f0746aa9
Merge #394
394: rj/stream rework r=ryan-summers a=jordens

- network: add some useful log messages
- stream: redo socket management logic
- derive Defgault for StreamTarget

* depends on #393
* tested on fls, makes it a bit faster but the big chunk will be #385 

Co-authored-by: Robert Jördens <rj@quartiq.de>
Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-06-25 12:52:04 +00:00
eba4b19220
Merge branch 'master' into rj/stream-rework 2021-06-25 14:51:25 +02:00
bors[bot]
ef9de6f10e
Merge #393
393: network: add some useful log messages r=ryan-summers a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-25 12:44:51 +00:00
c7bac73bde derive Defgault for StreamTarget 2021-06-25 09:46:03 +02:00
60ed1876b2 stream: redo socket management logic
* Make process only open and set_remote only close sockets
* Streamline queue flushing in all cases where we just opened the socket
* Streamline dequeuing using Option/Result API, removing a
  queue.ready() check
2021-06-25 09:45:50 +02:00
0ba3259374 network: add some useful log messages 2021-06-25 09:43:24 +02:00
bors[bot]
1ca3c62475
Merge #392
392: use mutex-trait instead of flatten_closures r=jordens a=jordens

To have less code to maintain and clean up the API a bit.

* [x] tested on multiple applications (dual-iir, fls)

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-24 12:44:46 +00:00
0a162a8096 use mutex-trait instead of flatten_closures 2021-06-24 11:03:54 +00:00
bors[bot]
b7e2a3dbca
Merge #391
391: setup: use a best-effort lock for rprintln r=ryan-summers a=jordens

close #382

* [x] tested with very long log messages that would otherwise cause the DMA deadline to be missed. (use cargo-embed git to make it work with stlink v3)


Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-24 08:49:36 +00:00
2c5afe959b spelling, naming 2021-06-24 10:21:32 +02:00
a3dd760aba setup: use a best-effort lock for rprintln
close #382
2021-06-24 10:16:31 +02:00
bors[bot]
c935f97752
Merge #390
390: lowpass: make it work for k=0 r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-23 06:57:53 +00:00
0253214810 lowpass: make it work for k=0 2021-06-22 22:53:51 +02:00
bors[bot]
901d625764
Merge #389
389: saturating_scale: add test r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-06-22 09:05:50 +00:00
bors[bot]
8c9842f3cf
Merge #380
380: Adding data livestream capability r=ryan-summers a=ryan-summers

This PR implements livestream capability for ADC and DAC samples. The current implementation provides a static configuration.

**TODO**
- [x] Clean up documentation
- [x] Implement streaming for `lockin` app
- [x] Test new block-packetization scheme
- [x] Add reference python stream receiver
- [x] Merge #381 first

Co-authored-by: Ryan Summers <ryan.summers@vertigo-designs.com>
2021-06-22 08:00:59 +00:00
7a71c05316
Merge branch 'master' into feature/livestream 2021-06-22 10:00:37 +02:00
54fef888aa
Merge pull request #387 from quartiq/feature/flash-update
Cargo-flash for HITL runner
2021-06-22 10:00:14 +02:00
044d51d184 Utilize cargo-flash 2021-06-22 09:52:56 +02:00
80ded1005b Updating runner to utilize cargo-embed 2021-06-22 09:42:03 +02:00
9d34e755d8 Fixing UDP reopening bug 2021-06-21 13:18:36 +02:00
507f1f2b6c Reverting hitl change 2021-06-15 14:50:55 +02:00