diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f4fe34..bc0221f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,3 +44,13 @@ jobs: - run: cargo doc --no-deps - run: cargo install cargo-deadlinks - run: cargo deadlinks --ignore-fragments --check-intra-doc-links + + embedded: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: dtolnay/rust-toolchain@stable + with: + target: thumbv7em-none-eabihf + - run: cargo build --release + working-directory: miniconf/tests/embedded diff --git a/tests/embedded/Cargo.toml b/tests/embedded/Cargo.toml index 7c334d8..7596bc9 100644 --- a/tests/embedded/Cargo.toml +++ b/tests/embedded/Cargo.toml @@ -14,8 +14,8 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] } cortex-m-rt = { version = "0.7.0", default-features = false } panic-probe = { version = "1.0.0", features = ["print-defmt"] } -idsp = { version = "0.20", path = "../.." } -dsp-process = { version = "0.1", path = "../../dsp-process" } +idsp = { version = "0.21", path = "../.." } +dsp-process = { version = "0.2", path = "../../dsp-process" } dsp-fixedpoint = { version = "0.1", path = "../../dsp-fixedpoint" } biquad = "0.5.0" diff --git a/tests/embedded/src/bin/biquad.rs b/tests/embedded/src/bin/biquad.rs index 02808c4..e30143f 100644 --- a/tests/embedded/src/bin/biquad.rs +++ b/tests/embedded/src/bin/biquad.rs @@ -183,6 +183,11 @@ fn main() -> ! { >::default()) .show("idsp q64"); + bench_inplace(&mut Split::, idsp::LowpassState<1>>::default()) + .show("lowpass1"); + bench_inplace(&mut Split::, idsp::LowpassState<2>>::default()) + .show("lowpass2"); + info!("Done"); asm::bkpt();