2021-11-24 03:18:30 +01: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-07 00:28:32 +01:00
|
|
|
#runner = "teleprobe run --chip STM32G071RBTx --elf"
|
|
|
|
runner = "./teleprobe.sh nucleo-stm32f429zi"
|
2021-11-24 03:18:30 +01:00
|
|
|
|
|
|
|
rustflags = [
|
|
|
|
# Code-size optimizations.
|
|
|
|
"-Z", "trap-unreachable=no",
|
|
|
|
"-C", "inline-threshold=5",
|
|
|
|
"-C", "no-vectorize-loops",
|
|
|
|
]
|
|
|
|
|
|
|
|
[build]
|
|
|
|
target = "thumbv7em-none-eabi"
|