From 1ffb78fa6edb74dead071f751dc670be136c31af Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 1 Oct 2019 12:09:04 +0200 Subject: [PATCH] boards/feather-m0: update doc about flash and stdio --- boards/feather-m0/doc.txt | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/boards/feather-m0/doc.txt b/boards/feather-m0/doc.txt index 471954ce9a..5ecc3898fa 100644 --- a/boards/feather-m0/doc.txt +++ b/boards/feather-m0/doc.txt @@ -41,18 +41,22 @@ printf("Bat: %dV\n", vbat); ### Flash the board -1. Put the board in bootloader mode by double tapping the reset button.
- When the board is in bootloader mode, the user led (red) oscillates smoothly. - - -2. Use `BOARD=feather-m0` with the `make` command.
- Example with `hello-world` application: +Use `BOARD=feather-m0` with the `make` command.
+Example with `hello-world` application: ``` 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 -To access the STDIO of RIOT, a FTDI to USB converted needs to be plugged to -the RX/TX pins on the board. +STDIO of RIOT is directly available over the USB port. + +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. */