sunsided / minikalman-rs

Fixed- and floating-point Kalman filters for resource-constrained environments, written in Rust.
https://crates.io/crates/minikalman
MIT License
7 stars 1 forks source link

Add cross-compilation example for STM32F303 #7

Closed sunsided closed 4 months ago

sunsided commented 4 months ago

This reworks how the no_std / std feature work, introduces explicit libm support for and adds an STM32F303 embedded example that strictly requires no_std and no allocations. The example builds both floating-point and fixed-point support.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 84.55882% with 42 lines in your changes missing coverage. Please review.

Project coverage is 87.63%. Comparing base (018e40f) to head (8047206).

Files Patch % Lines
src/measurement.rs 67.74% 20 Missing :warning:
src/kalman.rs 68.42% 18 Missing :warning:
src/matrix.rs 96.46% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7 +/- ## ========================================== + Coverage 86.96% 87.63% +0.66% ========================================== Files 5 5 Lines 1412 1488 +76 ========================================== + Hits 1228 1304 +76 Misses 184 184 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.