embassy/examples/nrf/.cargo/config.toml

19 lines
518 B
TOML
Raw Normal View History

2020-09-22 18:03:43 +02:00
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# replace nRF82840_xxAA with your chip as listed in `probe-run --list-chips`
2021-02-24 08:44:23 +01:00
runner = "probe-run --chip nRF52840_xxAA"
2020-09-22 18:03:43 +02:00
rustflags = [
# LLD (shipped with the Rust toolchain) is used as the default linker
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
2021-02-28 21:38:10 +01:00
# Code-size optimizations.
"-Z", "trap-unreachable=no",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
2020-09-22 18:03:43 +02:00
]
[build]
target = "thumbv7em-none-eabi"