Fix toctree, incorrect flash port assumptions

This commit is contained in:
Lucian Copeland 2020-09-14 17:37:55 -04:00
parent 6ecfdda580
commit 3640ef2b7f
2 changed files with 2 additions and 7 deletions

View File

@ -17,3 +17,4 @@ is limited.
../ports/mimxrt10xx/README ../ports/mimxrt10xx/README
../ports/nrf/README ../ports/nrf/README
../ports/stm/README ../ports/stm/README
../ports/esp32s2/README

View File

@ -42,13 +42,7 @@ Additionally, any time you open a new bash environment for building or flashing,
. esp-idf/export.sh . esp-idf/export.sh
``` ```
To build for a board such as the Saola 1 Wrover and flash it over the UART interface, run the following: Building boards such as the Saola is typically done through `make flash`. The default port is `tty.SLAB_USBtoUART`, which will only work on certain Mac setups. On most machines, both Mac and Linux, you will need to set the port yourself by running `ls /dev/tty.usb*` and selecting the one that only appears when your development board is plugged in. An example make command with the port setting is as follows:
```
make BOARD=espressif_saola_1_wrover flash
```
On MacOS, you may need to directly specify the port. You can determine the correct port on your machine by running `ls /dev/tty.usb*` and selecting the one that appears only when your development board is plugged in. Example:
``` ```
make BOARD=espressif_saola_1_wrover flash PORT=/dev/tty.usbserial-1421120 make BOARD=espressif_saola_1_wrover flash PORT=/dev/tty.usbserial-1421120