embedded-trainings-2020/beginner/apps/.cargo/config.toml

15 lines
332 B
TOML
Raw Normal View History

2021-01-22 14:15:11 +00:00
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# (..)
rustflags = [
"-C", "linker=flip-link", # adds stack overflow protection
# (..)
]
[target.thumbv7em-none-eabihf]
2020-08-17 08:58:10 +00:00
runner = "probe-run --chip nRF52840_xxAA"
2020-06-09 09:52:27 +00:00
rustflags = [
"-C", "link-arg=-Tlink.x",
]
[build]
target = "thumbv7em-none-eabihf" # = ARM Cortex-M4