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"))']
|
2022-02-23 23:19:26 +00:00
|
|
|
runner = "teleprobe client run --target bluepill-stm32f103c8 --elf"
|
|
|
|
#runner = "teleprobe local run --chip STM32F103C8 --elf"
|
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]
|
2022-02-23 23:19:26 +00:00
|
|
|
target = "thumbv7m-none-eabi"
|