2019-03-07 23:27:33 +08:00
|
|
|
[target.thumbv7em-none-eabihf]
|
2019-04-12 17:14:38 +08:00
|
|
|
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)
|