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