mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
boards/ada-{clue,itsybitsy-nrf52}: update flashing doc
This commit is contained in:
parent
4ee42929f0
commit
cebe693556
@ -18,15 +18,10 @@ The board detailed description and schematic is available
|
||||
|
||||
### Flash the board
|
||||
|
||||
The board is flashed using the `adafruit-nrfutil` Python package:
|
||||
```
|
||||
$ pip install --user adafruit-nrfutil
|
||||
```
|
||||
|
||||
Example with `hello-world` application:
|
||||
```
|
||||
make BOARD=adafruit-clue -C examples/basic/hello-world flash
|
||||
```
|
||||
The board is flashed using its on-board
|
||||
[bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader).
|
||||
More information about how to work with this bootloader can be found in the
|
||||
@ref boards_common_adafruit-nrf52-bootloader section.
|
||||
|
||||
### Accessing STDIO via UART
|
||||
|
||||
@ -37,7 +32,3 @@ Use the `term` target to connect to the board serial port<br/>
|
||||
```
|
||||
make BOARD=adafruit-clue -C examples/basic/hello-world term
|
||||
```
|
||||
|
||||
The `TERM_DELAY` environment variable can be used to add a delay (in second)
|
||||
before opening the serial terminal. The default value is 2s which should be
|
||||
enough in most of the situations.
|
||||
|
||||
@ -16,26 +16,10 @@ reset button as well as 21 configurable external pins(6 of which can be analog i
|
||||
|
||||
### Flash the board
|
||||
|
||||
The board is flashed using its on-board [boot loader](https://github.com/adafruit/Adafruit_nRF52_Bootloader).
|
||||
Adafruit has a special version of the [nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) that program needs to
|
||||
be installed. It can turn the binary into a suitable zip file and send it to the DFU
|
||||
bootloader.
|
||||
|
||||
The process is automated in the usual `make flash` target.
|
||||
|
||||
If RIOT is already running on the board, it will automatically reset the CPU and enter
|
||||
the bootloader.
|
||||
If some other firmware is running or RIOT crashed, you need to enter the bootloader
|
||||
manually by double tapping the board's reset button.
|
||||
|
||||
Readiness of the bootloader is indicated by LD1 pulsing in blue.
|
||||
|
||||
Important to note that Adafruit's nrfutil is not compatible with Nordic's nrfutil.
|
||||
|
||||
#### nrfutil installation
|
||||
|
||||
On systems with Python 3, a recent version of pip is required to install all dependencies;
|
||||
you may need to run `pip3 install --upgrade pip3` before being able to run `pip3 install adafruit-nrfutil` successfully.
|
||||
The board is flashed using its on-board
|
||||
[bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader).
|
||||
More information about how to work with this bootloader can be found in the
|
||||
@ref boards_common_adafruit-nrf52-bootloader section.
|
||||
|
||||
### Accessing STDIO
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user