2021-11-24 02:18:30 +00:00
|
|
|
[unstable]
|
|
|
|
build-std = ["core"]
|
|
|
|
build-std-features = ["panic_immediate_abort"]
|
|
|
|
|
|
|
|
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
|
|
# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips`
|
2021-12-06 23:28:32 +00:00
|
|
|
#runner = "teleprobe run --chip STM32G071RBTx --elf"
|
|
|
|
runner = "./teleprobe.sh nucleo-stm32f429zi"
|
2021-11-24 02:18:30 +00:00
|
|
|
|
|
|
|
rustflags = [
|
|
|
|
# Code-size optimizations.
|
|
|
|
"-Z", "trap-unreachable=no",
|
|
|
|
"-C", "inline-threshold=5",
|
|
|
|
"-C", "no-vectorize-loops",
|
|
|
|
]
|
|
|
|
|
|
|
|
[build]
|
|
|
|
target = "thumbv7em-none-eabi"
|