summaryrefslogtreecommitdiff
path: root/firmware/rust/.cargo/config
blob: 96e1aaa404be6ebd74aae8b066f61cb8064f535e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[target.thumbv6m-none-eabi]

# uncomment ONE of these three option to make `cargo run` start a GDB session
# which option to pick depends on your system
# runner = "arm-none-eabi-gdb -q -x openocd.gdb"
runner = "gdb-multiarch -q -x openocd.gdb"
# runner = "gdb -q -x openocd.gdb"

rustflags = ["-C", "link-arg=-Tlink.x"]

[build]
target = "thumbv6m-none-eabi"