diff --git a/code/project/.cargo/config.toml b/code/project/.cargo/config.toml new file mode 100644 index 0000000..017ba71 --- /dev/null +++ b/code/project/.cargo/config.toml @@ -0,0 +1,11 @@ +[build] +target = "thumbv7em-none-eabihf" + +# For micro:bit v2 +[target.thumbv7em-none-eabihf] +#runner = "probe-run --chip nRF52833_xxAA" +runner = "probe-rs run --chip nRF52833_xxAA" +rustflags = [ + "-C", "linker=rust-lld", + "-C", "link-arg=-Tlink.x", +] \ No newline at end of file