Skip to content

Commit 54ae5e7

Browse files
bors[bot]adamgreen
andcommitted
Merge #132
132: Update .cargo/config diff baseline r=adamgreig a=adamgreen The diff in 06-hello-world/README.md for changes to be made to .cargo/config are based off of an older version of the config file than what is found in the repository currently. Co-authored-by: Adam Green <[email protected]>
2 parents 0e89191 + 419ce79 commit 54ae5e7

File tree

11 files changed

+1
-13
lines changed

11 files changed

+1
-13
lines changed

src/05-led-roulette/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]

src/05-led-roulette/the-challenge.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ $ cat .cargo/config
4949
[target.thumbv7em-none-eabihf]
5050
runner = "arm-none-eabi-gdb -q -x openocd.gdb" # <-
5151
rustflags = [
52-
"-C", "linker=rust-lld",
5352
"-C", "link-arg=-Tlink.x",
5453
]
5554
```

src/06-hello-world/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]

src/06-hello-world/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,9 @@ default target in .cargo/config:
7777

7878
``` diff
7979
[target.thumbv7em-none-eabihf]
80-
runner = "arm-none-eabi-gdb"
80+
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
8181
rustflags = [
8282
"-C", "link-arg=-Tlink.x",
83-
"-C", "linker=arm-none-eabi-ld",
84-
"-Z", "linker-flavor=ld",
8583
]
8684

8785
+[build]

src/07-registers/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/08-leds-again/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/09-clocks-and-timers/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/11-usart/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/14-i2c/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

src/15-led-compass/.cargo/config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[target.thumbv7em-none-eabihf]
22
runner = "arm-none-eabi-gdb -q -x openocd.gdb"
33
rustflags = [
4-
"-C", "linker=rust-lld",
54
"-C", "link-arg=-Tlink.x",
65
]
76

0 commit comments

Comments
 (0)