Skip to content

Commit 566d32c

Browse files
committed
Add --release flag to README examples
I hadn't realised what a big difference it makes.
1 parent 42feead commit 566d32c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ run one of the commands below.
3939

4040
*For micro:bit V1*
4141
```bash
42-
> cargo run --manifest-path ./examples/led-blocking/Cargo.toml --features v1 --target thumbv6m-none-eabi
42+
> cargo run --release --manifest-path ./examples/led-blocking/Cargo.toml --features v1 --target thumbv6m-none-eabi
4343
```
4444

4545
*For micro:bit V2*
4646
```bash
47-
> cargo run --manifest-path ./examples/led-blocking/Cargo.toml --features v2 --target thumbv7em-none-eabihf
47+
> cargo run --release --manifest-path ./examples/led-blocking/Cargo.toml --features v2 --target thumbv7em-none-eabihf
4848
```
4949

5050
You should see a lot of build output, the orange LED on the back of the micro:bit should flash quickly and

0 commit comments

Comments
 (0)