mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-10-31 22:28:49 +00:00
16 lines
361 B
TOML
16 lines
361 B
TOML
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
# (..)
|
|
rustflags = [
|
|
"-C", "linker=flip-link", # adds stack overflow protection
|
|
"-C", "link-arg=-Tdefmt.x", # defmt support
|
|
# (..)
|
|
]
|
|
|
|
[target.thumbv7em-none-eabihf]
|
|
runner = "probe-run --chip nRF52840_xxAA"
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlink.x",
|
|
]
|
|
|
|
[build]
|
|
target = "thumbv7em-none-eabihf"
|