Commit Graph

1091 Commits

Author SHA1 Message Date
Ryan Summers 4e6f65b3e0 Fixing spacing 2021-02-03 13:42:43 +01:00
Robert Jördens 672ddfa3c3 pounder: also adapt to new hal 2021-02-03 13:25:00 +01:00
Robert Jördens c5fde8563c deps: bump hal and smoltcp, adapt 2021-02-03 13:16:22 +01:00
Robert Jördens a8c5502441 Merge remote-tracking branch 'origin/dependabot/cargo/stm32h7xx-hal-2b8a04c' into rj/bump-hal-smoltcp
* origin/dependabot/cargo/stm32h7xx-hal-2b8a04c:
  build(deps): bump stm32h7xx-hal from `3da22d4` to `2b8a04c`
2021-02-03 13:05:27 +01:00
Robert Jördens 5fc4720593 Merge remote-tracking branch 'origin/dependabot/cargo/smoltcp-0.7.0' into rj/bump-hal-smoltcp
* origin/dependabot/cargo/smoltcp-0.7.0:
  build(deps): bump smoltcp from 0.6.0 to 0.7.0
2021-02-03 13:04:16 +01:00
Ryan Summers b57b666473 Updating input capture for timers 2021-02-03 13:03:17 +01:00
Ryan Summers 70f6d4e1c4
Merge pull request #256 from vertigo-designs/feature/cargo-embed-support
Adding support for cargo-embed
2021-02-02 18:21:24 +01:00
Ryan Summers bf97b5972d
Update .gitignore
Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-02-02 18:03:46 +01:00
Ryan Summers fd54fe384e Adding Embed.toml file 2021-02-02 17:34:49 +01:00
Ryan Summers e767072089 Adding support for cargo-embed 2021-02-02 17:33:58 +01:00
Robert Jördens 14abaad7de
Merge pull request #255 from quartiq/rj/timestamp-tweaks
Rj/timestamp tweaks
2021-02-02 16:11:33 +01:00
Robert Jördens e423eff0e2 lockin-external: add doc 2021-02-02 15:50:31 +01:00
Robert Jördens bd71136cdf hw/config: add TODO on synchronization 2021-02-02 15:46:50 +01:00
Robert Jördens 145b48074e timers: remove spurious tim2 reset 2021-02-02 15:42:51 +01:00
Robert Jördens dcc71d5d11 iir: tweak math a bit 2021-02-02 15:41:47 +01:00
Robert Jördens ddbfa9d988 timestamping: docs and naming 2021-02-02 14:34:48 +01:00
Robert Jördens e1c87c149f timestamping_timer: also reset counter 2021-02-02 13:25:45 +01:00
Robert Jördens 854ed29b1a timestamp: pass overflows to the top and ignore them there 2021-02-02 12:34:20 +01:00
Robert Jördens 4475a2d040 timestamping: full u32 range
The sampling timer and the timestamping timer have the same period.
The sampling interval and the batch size are powers of two.
If the timestamping timer wraps at a power of two larger than the
batch period, it will wrap in sync with the batch period.

Even if it didn't the RPLL would handle that. But it requires that the
timer wraps at the u32/i32 boundary (or be shifted left to wrap there).
2021-02-02 11:36:10 +01:00
Harry Ho 299b443e5f update cargosha256 2021-02-02 12:01:23 +08:00
Harry Ho 69755305a9 rename cargosha256.nix to differentiate the binaries
* nixpkgs 20.09 imposes that cargoSha256 also depends on the package name, while 726ee7aa82 changes the package name from "stabilizer" to "stabilizer-dual-iir". Thus, the cargoSha256 value also needed to be updated.
2021-02-02 11:18:15 +08:00
Robert Jördens 6b02e84a5d
Merge pull request #254 from sergachev/master
readme: fix source path and binary names
2021-02-01 23:47:07 +01:00
Ilia Sergachev e9a471bec9
readme: fix source path and binary names 2021-02-01 23:38:41 +01:00
Robert Jördens b1cd6342fb
Merge pull request #253 from quartiq/rj/lockin-test
Rj/lockin test
2021-02-01 19:40:20 +01:00
Robert Jördens 2144af5bcd configuration: update to HITL ips 2021-02-01 19:32:20 +01:00
Robert Jördens 24a4486847 lockin-internal: rotate samples 2021-02-01 19:31:57 +01:00
Robert Jördens 08cc2e4840
Merge pull request #252 from quartiq/rj/misc-cleanup
Rj/misc cleanup
2021-02-01 19:10:59 +01:00
Robert Jördens f02d3cc95b dsp: clippy 2021-02-01 18:46:21 +01:00
Robert Jördens 2a84e3f299 dsp: remove unused code, let the compiler decide about inlining 2021-02-01 18:37:05 +01:00
Robert Jördens 5d7266abbc dsp: clippy 2021-02-01 18:24:51 +01:00
Robert Jördens 9ee60824d4 lockin-internal: align processing with lockin-external 2021-02-01 18:15:51 +01:00
Robert Jördens f9b5d29450 lockin: de-nest processing flow 2021-02-01 18:14:09 +01:00
Robert Jördens b6e22b576b iir: add const fn new() 2021-02-01 17:18:10 +01:00
Robert Jördens 656e3253ab lockin-internal: document, streamline sequence 2021-02-01 17:09:06 +01:00
Robert Jördens ab7e3d229b rpll: clean up asserts 2021-02-01 16:01:05 +01:00
Robert Jördens 7e82fce4f0
Merge pull request #251 from quartiq/dsp-tweaks
Dsp tweaks
2021-02-01 14:17:23 +01:00
Robert Jördens 65a3f839a0 lockin: remove feed() 2021-02-01 13:42:38 +01:00
Robert Jördens 90bd4741cc dsp/benches: iir vec5 2021-02-01 13:27:49 +01:00
Robert Jördens 965c6335e1 dsp: fmt 2021-02-01 12:40:12 +01:00
Robert Jördens 7748d8eb54 dsp: constructor style 2021-02-01 12:37:44 +01:00
Robert Jördens fdae9d54e8 Merge remote-tracking branch 'origin/master'
* origin/master:
  update cargosha256
  build(deps): bump log from 0.4.13 to 0.4.14
  build(deps): bump cortex-m-log from 0.6.2 to 0.7.0
  build(deps): bump serde from 1.0.120 to 1.0.123
2021-02-01 12:28:01 +01:00
Robert Jördens 2c60103696 dsp: accu: add, iir: rename IIRState to Vec5 2021-02-01 12:23:47 +01:00
Robert Jördens 0fd4b167b4 complex/cossin: decouple modules 2021-02-01 12:07:03 +01:00
Harry Ho cc9110426a update cargosha256 2021-02-01 17:47:32 +08:00
Robert Jördens a8f2f81833
Merge pull request #250 from quartiq/dependabot/cargo/log-0.4.14
build(deps): bump log from 0.4.13 to 0.4.14
2021-02-01 08:51:48 +01:00
dependabot[bot] 7e37ac7b02
build(deps): bump log from 0.4.13 to 0.4.14
Bumps [log](https://github.com/rust-lang/log) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.13...0.4.14)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-31 22:28:52 +00:00
dependabot[bot] 8317185e07
build(deps): bump stm32h7xx-hal from `3da22d4` to `2b8a04c`
Bumps [stm32h7xx-hal](https://github.com/stm32-rs/stm32h7xx-hal) from `3da22d4` to `2b8a04c`.
- [Release notes](https://github.com/stm32-rs/stm32h7xx-hal/releases)
- [Commits](3da22d4935...2b8a04caac)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-31 22:28:48 +00:00
Robert Jördens e3e97805ed
Merge pull request #238 from quartiq/dependabot/cargo/serde-1.0.123
build(deps): bump serde from 1.0.120 to 1.0.123
2021-01-31 23:28:19 +01:00
Robert Jördens 7f37f276bf
Merge pull request #246 from quartiq/dependabot/cargo/cortex-m-log-0.7.0
build(deps): bump cortex-m-log from 0.6.2 to 0.7.0
2021-01-31 23:28:04 +01:00
Robert Jördens 2d43b8970b lockin: cleanup 2021-01-31 20:49:14 +01:00