[riot-notifications] [RIOT-OS/RIOT] boards/nrf52: add openocd as programmer option (#9407)

Marian Buschsieweke notifications at github.com
Mon Feb 4 09:55:16 CET 2019


maribu commented on this pull request.

I found one wording issue in the documentation, so inline comments.

> @@ -13,4 +13,33 @@ this, RIOT provides a little tool in `dist/tools/nrf52_resetpin_cfg`.
 Simply compile, flash, and run that tool on your board, and the reset pin should
 work for the time being.
 
+## Flash the board
+
+By default, the board is flashed with via the on-board Segger JLink adapter.
+
+To flash the board, use `BOARD=nrf52840dk` with the `make` command.<br/>
+Example with `hello-world` application:
+```
+    make BOARD=nrf52840dk -C examples/hello-world flash
+```
+
+OpenOCD can also be used. For the moment, the latest stable version of OpenOCD
+(0.10) doesn't contain any support for nrf52 but versions built against the
+actual development version can be used.

```suggestion
current development version can be used.
```

> @@ -104,4 +104,34 @@ work for the time being.
 There are two pins for current measurement on board. Don't connect these pins
 to GND!. The left pin is at 3.3V level and the right pin is connected to V33.
 Divide the measured voltage between this pins by 22 to get the current.
+
+
+## Flash the board
+
+By default, the board is flashed with via the on-board Segger JLink adapter.
+
+To flash the board, use `BOARD=nrf52dk` with the `make` command.<br/>
+Example with `hello-world` application:
+```
+    make BOARD=nrf52dk -C examples/hello-world flash
+```
+
+OpenOCD can also be used. For the moment, the latest stable version of OpenOCD
+(0.10) doesn't contain any support for nrf52 but versions built against the
+actual development version can be used.

```suggestion
current development version can be used.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/9407#pullrequestreview-199480526
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190204/9a661d27/attachment-0001.html>


More information about the notifications mailing list