stm32: add gpio HIL test

This commit is contained in:
Dario Nieuwenhuis
2021-11-24 03:18:30 +01:00
parent 00a87b9a41
commit dd32358d6b
9 changed files with 472 additions and 5 deletions

View File

@ -0,0 +1,17 @@
[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`
runner = "probe-run --chip STM32F429ZITx"
rustflags = [
# Code-size optimizations.
"-Z", "trap-unreachable=no",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
]
[build]
target = "thumbv7em-none-eabi"