Project that does the Gear Trainer, but in rust using a NUCLEO-F446RE (STM32F446RE MCU) instead of an Arduino Uno (ATmega328P MCU)
- Install cargo/rust
- Update cargo/rust
- Run
rustup update
in command line
- Run
- Install arm platform support
- Run
rustup target add thumbv7em-none-eabihf
in your terminal - https://doc.rust-lang.org/rustc/platform-support/arm-none-eabi.html
- Run
- Navigate to desired project folder
- ExerciseX/
- Add the llvm tools
- Run
rustup component add llvm-tools
in your terminal
- Run
- Add cargo-binutils
- Run
cargo install cargo-binutils
in your terminal
- Run
- Add cargo embed tools
- Run
cargo install cargo-embed
- Run
- Ensure you have the ST-LINK drivers downloaded
- Build & flash the bin file
- Run
cargo embed --debug
in your terminal - Run
cargo embed --release
in your terminal
- Run