Archived
16 lines
454 B
TOML
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"
|