Skip to content

Commit

Permalink
boards/nrf52xx: use common flashing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Feb 26, 2019
1 parent 826df56 commit a2cfa52
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 46 deletions.
5 changes: 5 additions & 0 deletions boards/acd52832/doc.txt
Expand Up @@ -2,4 +2,9 @@
@defgroup boards_acd52832 ACD52832
@ingroup boards
@brief Support for the aconno™ ACD52832

## Flash the board

See the `Flashing` section in @ref boards_common_nrf52.

*/
14 changes: 1 addition & 13 deletions boards/nrf52840-mdk/doc.txt
Expand Up @@ -23,20 +23,8 @@ PyOCD can be installed using Python package manager:
pip install pyocd --user -U
```

To flash the board `BOARD=nrf52840-mdk` with the `make` command.<br/>
Example with `hello-world` application:
```
make BOARD=nrf52840-mdk -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.
See the `Flashing` section in @ref boards_common_nrf52.

To flash the board with OpenOCD, use the `PROGRAMMER` variable:
```
PROGRAMMER=openocd make BOARD=nrf52840-mdk -C examples/hello-world flash
```

### Accessing STDIO via UART

Expand Down
17 changes: 1 addition & 16 deletions boards/nrf52840dk/doc.txt
Expand Up @@ -15,22 +15,7 @@ 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.

To flash the board with OpenOCD, use the `PROGRAMMER` variable:
```
PROGRAMMER=openocd make BOARD=nrf52840dk -C examples/hello-world flash
```
See the `Flashing` section in @ref boards_common_nrf52.

## Accessing STDIO via UART

Expand Down
18 changes: 1 addition & 17 deletions boards/nrf52dk/doc.txt
Expand Up @@ -105,25 +105,9 @@ 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.

To flash the board with OpenOCD, use the `PROGRAMMER` variable:
```
PROGRAMMER=openocd make BOARD=nrf52dk -C examples/hello-world flash
```
See the `Flashing` section in @ref boards_common_nrf52.

## Accessing STDIO via UART

Expand Down
5 changes: 5 additions & 0 deletions boards/ruuvitag/doc.txt
Expand Up @@ -2,4 +2,9 @@
@defgroup boards_ruuvitag RuuviTag
@ingroup boards
@brief Support for the RuuviTag board

## Flash the board

See the `Flashing` section in @ref boards_common_nrf52.

*/
5 changes: 5 additions & 0 deletions boards/thingy52/doc.txt
Expand Up @@ -2,4 +2,9 @@
@defgroup boards_thingy52 Nordic Thingy:52
@ingroup boards
@brief Support for the Nordic Thingy:52 board

## Flash the board

See the `Flashing` section in @ref boards_common_nrf52.

*/

0 comments on commit a2cfa52

Please sign in to comment.