embedded-trainings-2020/beginner/apps/.cargo/config.toml
2021-01-22 15:15:11 +01:00

15 lines
332 B
TOML

[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# (..)
rustflags = [
"-C", "linker=flip-link", # adds stack overflow protection
# (..)
]
[target.thumbv7em-none-eabihf]
runner = "probe-run --chip nRF52840_xxAA"
rustflags = [
"-C", "link-arg=-Tlink.x",
]
[build]
target = "thumbv7em-none-eabihf" # = ARM Cortex-M4