This repository hosts the project introduced in this blog post. It contains a simple application which can be both unit tested and deployed on the target with no configuration changes needed.
To build this program, you'll need:
- Flash and run/debug tools:
$ cargo install probe-rs --features cli
rust-std
components (pre-compiledcore
crate) for the STM32F446RE target. Run:
$ rustup target add thumbv7em-none-eabihf
To build the repository for the target, run:
$ cargo build --release --target=thumbv7em-none-eabihf
To unit test the project, just simply run:
$ cargo test
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Contribution to this crate is organized under the terms of the Rust Code of Conduct, the maintainer of this crate, promises to intervene to uphold that code of conduct.