embedded-trainings-2020/advanced/firmware/.cargo/config.toml

17 lines
361 B
TOML
Raw Normal View History

2021-01-22 09:32:51 +00:00
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# (..)
rustflags = [
"-C", "linker=flip-link", # adds stack overflow protection
2021-04-12 15:09:38 +00:00
"-C", "link-arg=-Tdefmt.x", # defmt support
2021-01-22 09:32:51 +00:00
# (..)
]
[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"