This quickstart is adapted to the Sparkfun Redboard Artemis. The pins for e.g. LED or I2C ports differ between boards.
You essentially have to follow the cortex-m-quickstart, start with adding the target for our MCU:
$ rustup target add thumbv7em-none-eabihf
$ cargo run && tail /dev/ttyACM0
If you have a debugger, and have this patch applied to probe-rs (as used by
probe-run), you can set the runner to be probe-run
in .cargo/config.toml
:
$ cargo run --bin rtt
Remember to include build.rs
, memory.x
and the .cargo
subfolder in your
project.