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

24 lines
549 B
Plaintext
Raw Normal View History

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