summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2020-09-14 17:37:55 -0400
committerLucian Copeland <hierophect@gmail.com>2020-09-14 17:37:55 -0400
commit3640ef2b7f5cfa2c7938b7d0d23132a033756ba5 (patch)
treef9357361e896943eadbfc379c4e355417a464079
parent6ecfdda580a7d27b1aaeb7d37f63fdb7f10b3779 (diff)
Fix toctree, incorrect flash port assumptions
-rw-r--r--docs/supported_ports.rst1
-rw-r--r--ports/esp32s2/README.md8
2 files changed, 2 insertions, 7 deletions
diff --git a/docs/supported_ports.rst b/docs/supported_ports.rst
index 09571afb6..e74067e28 100644
--- a/docs/supported_ports.rst
+++ b/docs/supported_ports.rst
@@ -17,3 +17,4 @@ is limited.
../ports/mimxrt10xx/README
../ports/nrf/README
../ports/stm/README
+ ../ports/esp32s2/README
diff --git a/ports/esp32s2/README.md b/ports/esp32s2/README.md
index 86aa99a13..5b664df08 100644
--- a/ports/esp32s2/README.md
+++ b/ports/esp32s2/README.md
@@ -42,13 +42,7 @@ Additionally, any time you open a new bash environment for building or flashing,
. 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:
-
-```
-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:
+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 PORT=/dev/tty.usbserial-1421120