add thumbv7m target

This commit is contained in:
Joe Ardent 2024-11-04 13:47:02 -08:00
parent 86aa77175f
commit 1f9d4ae284

View file

@ -1,8 +1,9 @@
[target.thumbv7m-none-eabi] [target.thumbv7m-none-eabi]
runner = 'probe-rs run --chip STM32F302R8Tx'
# uncomment this to make `cargo run` execute programs on QEMU # uncomment this to make `cargo run` execute programs on QEMU
# runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel" # runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] #[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [] rustflags = []
[build] [build]