File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
[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'
3
3
rustflags = [
4
4
# LLD (shipped with the Rust toolchain) is used as the default linker
5
5
"-C", "link-arg=-Tlink.x",
@@ -16,6 +16,20 @@ rustflags = [
16
16
# "-C", "link-arg=-nostartfiles",
17
17
]
18
18
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
+
19
33
[build]
20
34
# Pick one of these compilation targets
21
35
# target = "thumbv6m-none-eabi"
You can’t perform that action at this time.
0 commit comments