mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nrf52xx: use common flashing documentation
This commit is contained in:
parent
826df5648b
commit
a2cfa52602
@ -2,4 +2,9 @@
|
|||||||
@defgroup boards_acd52832 ACD52832
|
@defgroup boards_acd52832 ACD52832
|
||||||
@ingroup boards
|
@ingroup boards
|
||||||
@brief Support for the aconno™ ACD52832
|
@brief Support for the aconno™ ACD52832
|
||||||
|
|
||||||
|
## Flash the board
|
||||||
|
|
||||||
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -23,20 +23,8 @@ PyOCD can be installed using Python package manager:
|
|||||||
pip install pyocd --user -U
|
pip install pyocd --user -U
|
||||||
```
|
```
|
||||||
|
|
||||||
To flash the board `BOARD=nrf52840-mdk` with the `make` command.<br/>
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
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.
|
|
||||||
|
|
||||||
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
|
### Accessing STDIO via UART
|
||||||
|
|
||||||
|
@ -15,22 +15,7 @@ work for the time being.
|
|||||||
|
|
||||||
## Flash the board
|
## Flash the board
|
||||||
|
|
||||||
By default, the board is flashed with via the on-board Segger JLink adapter.
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
## Accessing STDIO via UART
|
## Accessing STDIO via UART
|
||||||
|
|
||||||
|
@ -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.
|
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.
|
Divide the measured voltage between this pins by 22 to get the current.
|
||||||
|
|
||||||
|
|
||||||
## Flash the board
|
## Flash the board
|
||||||
|
|
||||||
By default, the board is flashed with via the on-board Segger JLink adapter.
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
## Accessing STDIO via UART
|
## Accessing STDIO via UART
|
||||||
|
|
||||||
|
@ -2,4 +2,9 @@
|
|||||||
@defgroup boards_ruuvitag RuuviTag
|
@defgroup boards_ruuvitag RuuviTag
|
||||||
@ingroup boards
|
@ingroup boards
|
||||||
@brief Support for the RuuviTag board
|
@brief Support for the RuuviTag board
|
||||||
|
|
||||||
|
## Flash the board
|
||||||
|
|
||||||
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -2,4 +2,9 @@
|
|||||||
@defgroup boards_thingy52 Nordic Thingy:52
|
@defgroup boards_thingy52 Nordic Thingy:52
|
||||||
@ingroup boards
|
@ingroup boards
|
||||||
@brief Support for the Nordic Thingy:52 board
|
@brief Support for the Nordic Thingy:52 board
|
||||||
|
|
||||||
|
## Flash the board
|
||||||
|
|
||||||
|
See the `Flashing` section in @ref boards_common_nrf52.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user