- If needed, change the target in both
rust-toolchain.toml
and each Cargo.toml'sforced-target
. - Tweak [config/src/lib.rs]
- Tweak interrupt names in lines in [app/src/main.rs] marked with
// HWCONFIG
.
cargo install cargo-binutils
rustup component add llvm-tools
Build & flash in DFU mode: ./flash.sh