1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/arduino-mkrwan1300: update doc about flash and stdio

This commit is contained in:
Alexandre Abadie 2019-10-17 21:29:48 +02:00
parent eb20cfe9ca
commit 1342060977
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,37 +1,37 @@
/** /**
* @defgroup boards_arduino-mkrwan1300 Arduino MKR WAN 1300 @defgroup boards_arduino-mkrwan1300 Arduino MKR WAN 1300
* @ingroup boards @ingroup boards
* @brief Support for the Arduino MKR WAN 1300 board. @brief Support for the Arduino MKR WAN 1300 board.
*
* ### General information ### General information
*
* The [Arduino MKR WAN 1300](https://store.arduino.cc/mkr-wan-1300) board is The [Arduino MKR WAN 1300](https://store.arduino.cc/mkr-wan-1300) board is
* a learning and development board that provides LoRa connectivity and is a learning and development board that provides LoRa connectivity and is
* powered by an Atmel SAMD21 microcontroller. powered by an Atmel SAMD21 microcontroller.
*
* ### Pinout ### Pinout
*
* <img src="https://www.arduino.cc/en/uploads/Main/MKR1000_pinout.png" <img src="https://www.arduino.cc/en/uploads/Main/MKR1000_pinout.png"
* alt="Arduino MKR WAN 1300 pinout" style="height:800px;"/> alt="Arduino MKR WAN 1300 pinout" style="height:800px;"/>
*
* ### Flash the board ### Flash the board
*
* 1. Put the board in bootloader mode by double tapping the reset button.<br/> Use `BOARD=arduino-mkrgsm1400` with the `make` command.<br/>
* When the board is in bootloader mode, the user led (amber) oscillates Example with `hello-world` application:
* smoothly. ```
* make BOARD=arduino-mkrgsm1400 -C examples/hello-world flash
* ```
* 2. Use `BOARD=arduino-mkrwan1300` with the `make` command.<br/>
* Example with `hello-world` application: @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
* make BOARD=arduino-mkrwan1300 -C examples/hello-world flash bootloader mode by double tapping the reset button before running the
* ``` flash command.
*
* @warning Unplug the board from the anti-static protective foam before ### Accessing STDIO via UART
* starting to use it otherwise it may not work as expected.
* STDIO of RIOT is directly available over the USB port.
* ### Accessing STDIO via UART
* The `TERM_DELAY` environment variable can be used to add a delay (in second)
* To access the STDIO of RIOT, a FTDI to USB converted needs to be plugged to before opening the serial terminal. The default value is 2s which should be
* the RX/TX pins on the board. enough in most of the situation.
*/ */