thermostat/.cargo/config

13 lines
409 B
Plaintext
Raw Permalink Normal View History

2019-03-07 23:27:33 +08:00
[target.thumbv7em-none-eabihf]
runner = "gdb -q -x openocd.gdb"
2019-03-07 23:27:33 +08:00
rustflags = [
"-C", "link-arg=-Tlink.x",
]
[build]
# Pick ONE of these compilation targets
# target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
# target = "thumbv7m-none-eabi" # Cortex-M3
# target = "thumbv7em-none-eabi" # Cortex-M4 and Cortex-M7 (no FPU)
target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)