Commit Graph

1341 Commits

Author SHA1 Message Date
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
Robert Jördens 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
Ryan Summers 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
Robert Jördens c7bac73bde derive Defgault for StreamTarget 2021-06-25 09:46:03 +02:00
Robert Jördens 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
Robert Jördens 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
Robert Jördens 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
Robert Jördens 2c5afe959b spelling, naming 2021-06-24 10:21:32 +02:00
Robert Jördens 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
Robert Jördens 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
Ryan Summers 7a71c05316
Merge branch 'master' into feature/livestream 2021-06-22 10:00:37 +02:00
Ryan Summers 54fef888aa
Merge pull request #387 from quartiq/feature/flash-update
Cargo-flash for HITL runner
2021-06-22 10:00:14 +02:00
Ryan Summers 044d51d184 Utilize cargo-flash 2021-06-22 09:52:56 +02:00
Ryan Summers 80ded1005b Updating runner to utilize cargo-embed 2021-06-22 09:42:03 +02:00
Ryan Summers 9d34e755d8 Fixing UDP reopening bug 2021-06-21 13:18:36 +02:00
Ryan Summers 507f1f2b6c Reverting hitl change 2021-06-15 14:50:55 +02:00
Ryan Summers 40a49bc8d8 Updating HITL script to ignore failed kill step 2021-06-15 14:26:27 +02:00
Ryan Summers 260b0c7767 Updating comments 2021-06-15 14:19:28 +02:00
Ryan Summers d81e0c9323
Merge branch 'master' into feature/livestream 2021-06-15 14:15:16 +02:00
Ryan Summers 22381ee703
Merge pull request #381 from quartiq/feature/hal-update
Updating to HAL mainline
2021-06-15 14:14:57 +02:00
Ryan Summers 3cdef581b8 Removing interword-idle-delay 2021-06-15 14:10:15 +02:00
Ryan Summers c622a05f8f Updating TOML comment 2021-06-15 13:56:17 +02:00
Ryan Summers 99114e3c9c Fixing clippy 2021-06-15 13:49:06 +02:00
Ryan Summers 7294a69b66 Fixing clippy 2021-06-15 13:46:39 +02:00
Ryan Summers 9e083842ee Adding streaming to lockin app 2021-06-15 13:22:38 +02:00
Ryan Summers 2815d6d9e9 Updating docs 2021-06-15 13:18:16 +02:00
Ryan Summers a54d855cbe Updating HAL tag 2021-06-15 12:54:57 +02:00
Ryan Summers 8d1f2cf9b6 Updating versions 2021-06-15 12:51:42 +02:00
Ryan Summers b912f0c387 Merge branch 'feature/hal-update' into feature/livestream 2021-06-15 12:46:41 +02:00
Ryan Summers 9e182c850b Bumping HAL version 2021-06-15 12:46:03 +02:00
Ryan Summers c96999de52 Moving ownership of hardware cs 2021-06-14 18:51:49 +02:00
Ryan Summers d6ccf1cc83 Utilize interleaved CSn 2021-06-14 18:49:46 +02:00
Ryan Summers b8c0abcea2 Updating HAL SPI usage to master version 2021-06-14 18:47:37 +02:00
Ryan Summers 5a947e459c Finalizing updates after testing 2021-06-11 17:52:11 +02:00
Ryan Summers b40ca17fea Updating stream methodology 2021-06-11 16:36:19 +02:00
Robert Jördens 45bbfe186f saturating_scale: add test 2021-06-10 10:24:43 +02:00
Ryan Summers b9284451e4 Fixing format 2021-06-09 15:31:00 +02:00
Ryan Summers 9bc351109c Reverting unintended changes 2021-06-09 15:30:33 +02:00
Ryan Summers 92c84a6bfe Allowing target to be runtime configurable 2021-06-09 15:25:59 +02:00
Ryan Summers b5fdb31a02 Adding internal buffering to data stream blocks 2021-06-09 13:26:41 +02:00