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

22 lines
551 B
TOML
Raw Normal View History

2021-02-28 20:38:10 +00:00
[unstable]
build-std = ["core"]
2020-09-22 16:03:43 +00: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 07:44:23 +00:00
runner = "probe-run --chip nRF52840_xxAA"
2020-09-22 16:03:43 +00: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 20:38:10 +00:00
# Code-size optimizations.
"-Z", "trap-unreachable=no",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
2020-09-22 16:03:43 +00:00
]
[build]
target = "thumbv7em-none-eabi"