Commit Graph

202 Commits

Author SHA1 Message Date
Robert Jördens 0253214810 lowpass: make it work for k=0 2021-06-22 22:53:51 +02:00
Robert Jördens 45bbfe186f saturating_scale: add test 2021-06-10 10:24:43 +02:00
Robert Jördens 50ea2f360c Merge branch 'master' into rj/visibility-cleanup
* master: (34 commits)
  miniconf: update example usage
  apps: spi isrs are spi errors
  pounder/timestamp: docs updatew
  pll: update tests and benches
  pll: merge advance into update (like rpll)
  pll: add advance()
  pounder_timestamper: use input capture prescaler
  Revert "Revert "pounder timestmper: don't use DMA""
  miniconf: add some checks, simplify
  miniconf.py: make retain an option
  refactor flatten_closures
  clippy recursion
  fix a few clippy lints on files that are touched
  Revert "pounder timestmper: don't use DMA"
  pounder timestmper: don't use DMA
  lockin: dma fence
  lockin: port to fast double buffered DMA
  dma: implement overflow checking
  pounder: clippy
  pounder: add comment on channel enum
  ...
2021-06-04 11:59:54 +02:00
Robert Jördens 3c574b3519 pll: update tests and benches 2021-06-03 19:24:25 +02:00
Robert Jördens 10da2d38ae pll: merge advance into update (like rpll) 2021-06-03 19:20:13 +02:00
Robert Jördens 971bc1109d pll: add advance() 2021-06-03 17:33:57 +02:00
Robert Jördens fb4ed888ee dsp/saturating_scale: fix range 2021-05-30 20:12:02 +02:00
Robert Jördens 2ba49258f9 dsp/staurating_scale: fix math 2021-05-29 22:51:13 +02:00
Robert Jördens 21ab988239 atan2: tweak for speed 2021-05-29 22:51:13 +02:00
Robert Jördens 261ed12798 dsp: reduce num dependency 2021-05-17 12:32:20 +02:00
Robert Jördens 057f3dccf6 remove unused dependencies 2021-05-12 13:09:22 +02:00
Robert Jördens bcdb5e3c0f dsp/lowpass,lockin: const generics 2021-05-10 17:31:53 +02:00
Robert Jördens bf5f6afbc1 fix bench 2021-04-14 16:02:54 +02:00
Robert Jördens 8954c94a20 hardware: add digital input support
* The inputs of the buffer are not pulled up/down. That might make them
  unusable if left floating.
2021-04-14 15:53:52 +02:00
dependabot[bot] b39a827aff
build(deps): bump ndarray from 0.14.0 to 0.15.1
Bumps [ndarray](https://github.com/rust-ndarray/ndarray) from 0.14.0 to 0.15.1.
- [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/ndarray-rand-0.14.0...0.15.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-07 15:00:06 +00:00
dependabot[bot] 6c892f4ea3
Bump num from 0.3.1 to 0.4.0
Bumps [num](https://github.com/rust-num/num) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/rust-num/num/releases)
- [Changelog](https://github.com/rust-num/num/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num/compare/num-0.3.1...num-0.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 08:40:58 +00:00
Ryan Summers c553e72df4 Updating miniconf dependencies 2021-03-01 14:46:12 +01:00
Robert Jördens 4ccd624b36
Merge branch 'master' into dsp-tweaks 2021-03-01 13:43:58 +01:00
Robert Jördens 0d6b297d4e cossin: don't cancel -1 phase offset 2021-03-01 13:29:59 +01:00
Robert Jördens cd289687ea cossin: tighten test 2021-02-27 15:37:15 +01:00
Robert Jördens b2d6b5c10c dsp/bench: fmt 2021-02-27 15:02:16 +01:00
Robert Jördens 1805961d5d macc_i32: move to tools 2021-02-27 15:00:52 +01:00
Robert Jördens f4c6e07a38 dsp/bench: add lowpass 2021-02-27 14:54:46 +01:00
Robert Jördens 067ef79560 cossin: shave off a few more instructions 2021-02-26 19:47:48 +01:00
Robert Jördens b071fef15c iir_int: apply rounding bias summarily for speed 2021-02-25 17:37:57 +01:00
Robert Jördens 6c6c2e64a7 lockin: make order generic 2021-02-23 16:58:13 +01:00
Robert Jördens ffdf4026fb fmt 2021-02-22 16:40:51 +01:00
Robert Jördens f671e0c942 complex: add saturating_add/sub 2021-02-22 16:36:56 +01:00
Robert Jördens 6f3a30292c iir_int: make miniconf-able 2021-02-20 21:01:26 +01:00
Ryan Summers 28db428829 Fixing bench tests 2021-02-19 11:02:46 +01:00
Ryan Summers 04dff30dce Fixing dependencies: 2021-02-19 10:45:53 +01:00
Ryan Summers c6ef78cdc5 Pulling back easybench changes 2021-02-19 10:44:46 +01:00
Ryan Summers 2ac7568d5b Updating dependencies 2021-02-19 10:36:39 +01:00
Ryan Summers 65a0831e2d Merge branch 'master' into feature/mqtt-convert 2021-02-19 10:30:51 +01:00
Robert Jördens fcb7bb0025 dsp: fix nightly 2021-02-19 09:50:38 +01:00
Robert Jördens ccec9d7fed complex: rename extension trait, fix MulScaled 2021-02-19 09:29:38 +01:00
Robert Jördens c87cb3eb9c dsp: factor out tools 2021-02-19 09:20:42 +01:00
Robert Jördens a97829baf5 add saturating_scale 2021-02-18 22:14:21 +01:00
Robert Jördens 33b9b41405 lowpass: saturating math since it's free 2021-02-18 18:51:29 +01:00
Robert Jördens 07b7751dbc move lowpass gain outside lowpass/lockin 2021-02-18 14:25:54 +01:00
Robert Jördens 9983fad041 dsp: use num 2021-02-18 14:07:43 +01:00
Robert Jördens 04250360c1 deps: make miniconf a patch 2021-02-17 18:40:03 +01:00
Robert Jördens 78e69b1707 s/criterion/easybench/ for less weight 2021-02-17 18:35:52 +01:00
Ryan Summers a55b30e6c4 Working around dependency injection bug 2021-02-17 17:50:17 +01:00
Ryan Summers e8711d8f4f Merge branch 'master' into feature/mqtt-convert 2021-02-17 16:54:37 +01:00
Ryan Summers 50476f68fd Adding settings support for lockin-external 2021-02-17 16:53:53 +01:00
Ryan Summers b66f80f784 Fixing dependencies 2021-02-17 16:30:39 +01:00
Robert Jördens b1d45d831c fmt 2021-02-17 16:25:21 +01:00
Robert Jördens 07714fbca4 test: trait in scope 2021-02-17 16:24:45 +01:00
Robert Jördens b69131f5f5 impl trait on type alias instead of newtypes 2021-02-17 16:13:30 +01:00