mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:12:45 +01:00
boards/feather-m0: update doc about flash and stdio
This commit is contained in:
parent
edd4f690a8
commit
1ffb78fa6e
@ -41,18 +41,22 @@ printf("Bat: %dV\n", vbat);
|
|||||||
|
|
||||||
### Flash the board
|
### Flash the board
|
||||||
|
|
||||||
1. Put the board in bootloader mode by double tapping the reset button.<br/>
|
Use `BOARD=feather-m0` with the `make` command.<br/>
|
||||||
When the board is in bootloader mode, the user led (red) oscillates smoothly.
|
Example with `hello-world` application:
|
||||||
|
|
||||||
|
|
||||||
2. Use `BOARD=feather-m0` with the `make` command.<br/>
|
|
||||||
Example with `hello-world` application:
|
|
||||||
```
|
```
|
||||||
make BOARD=feather-m0 -C examples/hello-world flash
|
make BOARD=feather-m0 -C examples/hello-world flash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@note If the application crashes, automatic reflashing via USB, as explained
|
||||||
|
above won't be possible. In this case, the board must be set in
|
||||||
|
bootloader mode by double tapping the reset button before running the
|
||||||
|
flash command.
|
||||||
|
|
||||||
### Accessing STDIO via UART
|
### Accessing STDIO via UART
|
||||||
|
|
||||||
To access the STDIO of RIOT, a FTDI to USB converted needs to be plugged to
|
STDIO of RIOT is directly available over the USB port.
|
||||||
the RX/TX pins on the board.
|
|
||||||
|
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 situation.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user