- Rust (install via
rustup
)
$ curl https://sh.rustup.rs -sSf | sh
# Install nightly Rust
$ rustup install nightly
# Install Rust source
$ rustup component add rust-src
# Install target `thumbv7em-none-eabi`
$ rustup target add thumbv7em-none-eabi
# Install llvm-tools
$ rustup component add llvm-tools-preview --toolchain=nightly
# Disable incremental compilation
$ export CARGO_INCREMENTAL=0
$ make
$ make flash app=blinky
$ cd jtag
$ ./JLinkGDBServer.sh
$ arm-none-eabi-gdb -x gdbinit.jlink
$ b reset_handler
$ b main
Pull requests are welcome and create issues for questions or similar