This repository has been archived on 2026-06-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
embedded-rust-workshop/microbit-code/exercises/.cargo/config.toml
T
2026-06-11 14:11:14 +02:00

16 lines
454 B
TOML

[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace nRF82840_xxAA with your chip as listed in `probe-rs chip list`
runner = "probe-rs run --chip nRF52833_xxAA --allow-erase-all"
rustflags = [
"-C", "link-arg=-Tlink.x", # use the cortex-m-rt linker script
"-C", "linker=flip-link", # adds stack overflow protection
"-C", "link-arg=-Tdefmt.x", # defmt support
]
[build]
target = "thumbv7em-none-eabihf"
[env]
DEFMT_LOG = "info"