Skip to content

Commit 3640ef2

Browse files
committed
Fix toctree, incorrect flash port assumptions
1 parent 6ecfdda commit 3640ef2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

docs/supported_ports.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ is limited.
1717
../ports/mimxrt10xx/README
1818
../ports/nrf/README
1919
../ports/stm/README
20+
../ports/esp32s2/README

ports/esp32s2/README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,7 @@ Additionally, any time you open a new bash environment for building or flashing,
4242
. esp-idf/export.sh
4343
```
4444

45-
To build for a board such as the Saola 1 Wrover and flash it over the UART interface, run the following:
46-
47-
```
48-
make BOARD=espressif_saola_1_wrover flash
49-
```
50-
51-
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:
45+
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:
5246

5347
```
5448
make BOARD=espressif_saola_1_wrover flash PORT=/dev/tty.usbserial-1421120

0 commit comments

Comments
 (0)