Skip to content

Commit 9813771

Browse files
committed
1 parent 065efc8 commit 9813771

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.cargo/config

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
2-
runner = 'arm-none-eabi-gdb -x debug.gdb'
2+
# runner = 'arm-none-eabi-gdb -x debug.gdb'
33
rustflags = [
44
# LLD (shipped with the Rust toolchain) is used as the default linker
55
"-C", "link-arg=-Tlink.x",
@@ -16,6 +16,20 @@ rustflags = [
1616
# "-C", "link-arg=-nostartfiles",
1717
]
1818

19+
# work around rust-lang/cargo#5946
20+
[target.thumbv6m-none-eabi]
21+
runner = 'arm-none-eabi-gdb -x debug.gdb'
22+
23+
[target.thumbv7m-none-eabi]
24+
runner = 'arm-none-eabi-gdb -x debug.gdb'
25+
26+
[target.thumbv7em-none-eabi]
27+
runner = 'arm-none-eabi-gdb -x debug.gdb'
28+
29+
[target.thumbv7em-none-eabihf]
30+
runner = 'arm-none-eabi-gdb -x debug.gdb'
31+
# end of workaround
32+
1933
[build]
2034
# Pick one of these compilation targets
2135
# target = "thumbv6m-none-eabi"

0 commit comments

Comments
 (0)