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

23 lines
522 B
Text
Raw Normal View History

2021-02-28 20:38:10 +00:00
[unstable]
build-std = ["core"]
build-std-features = ["panic_immediate_abort"]
2020-09-22 16:03:43 +00:00
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
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"
2021-02-28 20:38:10 +00:00