A Rust "Hello, World!" for the STM32F411CEUx.
Generated using cortex-m-quickstart:
$ cargo generate --git https://github.com/rust-embedded/cortex-m-quickstartTo build you'll need a cross-compilation toolchain supporting the thumbv7em-none-eabihf target. To install it using rustup, run:
$ rustup target add thumbv7em-none-eabihfTo build:
$ cargo build --releaseTo flash:
$ cargo flash --chip stm32f411CEUx --releaseIn order to use the cargo-flash command, it must have been previously installed. To install it, run:
$ cargo install cargo-flashThis code has been successfully tested on the following board: