Skip to content

Commit 54e2b53

Browse files
committed
docs: add info on flashing the Microbit v2
Signed-off-by: deadprogram <[email protected]>
1 parent 0d1c723 commit 54e2b53

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,18 @@ Once you have copied the SoftDevice firmware to the BBC micro:bit, you can then
249249

250250
The [BBC micro:bit v2](https://microbit.org/new-microbit/) uses an nRF52833 chip with a CMSIS-DAP interface.
251251

252-
Support for the v2 will be available soon.
252+
You will need to install OpenOCD (http://openocd.org/) to flash this board.
253+
254+
First, flash the SoftDevice firmware by copying the .hex file to the device. For example (on Linux):
255+
256+
cd bluetooth
257+
cp ./s113_nrf52_7.0.1/s113_nrf52_7.0.1_softdevice.hex /media/yourusername/MICROBIT/
258+
259+
Note that you should only have to do this one time. Do not reset the power on the board until you complete the next step.
260+
261+
Now that you have copied the SoftDevice firmware to the BBC micro:bit v2, you can flash your TinyGo program:
262+
263+
tinygo flash -target=microbit-v2-s113v7 -programmer=cmsis-dap ./examples/heartrate
253264

254265
### Supported Chips
255266

0 commit comments

Comments
 (0)