1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/microbit: fix documentation

There were some random `bash` strings inside the code examples that
are just confusing.
Also we need to specify the board not only for emulation but for normal
flashing too.
This commit is contained in:
Benjamin Valentin 2020-10-24 01:10:15 +02:00
parent 60b5a6b35e
commit 11ae693ac2

View File

@ -52,9 +52,9 @@ file onto the board, and that's it.
The `micro:bit` port comes with a little script that does this automatically,
so you can flash the board as usual with
```
bash
make flash
BOARD=microbit make flash
```
The DAPLink interface provides however not means for debugging the board.
@ -67,9 +67,9 @@ the process is very simple and you can revert the firmware back to the DAPLink
default anytime ([as described here](https://www.mbed.com/en/development/hardware/prototyping-production/daplink/daplink-on-kl26z/)).
Once you have flashed the JLink firmware, you can flash the board like this:
```
bash
FLASHTOOL=jlink make flash
BOARD=microbit FLASHTOOL=jlink make flash
```
With the JLink firmware, you can now also do in-circuit debugging etc.