Dependancies
Buy the components
The default on-board RGB LED GPIO48
does not work with the blinky code. Hence, wire up a simple LED and resistor to GPIO5
of the board.
USB
port to know the port number
$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem14101
*.bin
file for the board GENERIC_S3-20220618-v1.19.1.bin
$ esptool.py --chip esp32s3 --port /dev/cu.usbmodem14101 erase_flash
esptool.py v4.3
Serial port /dev/cu.usbmodem14101
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e2:79:08
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 21.5s
Hard resetting via RTS pin...
$ esptool.py --chip esp32s3 --port /dev/cu.usbmodem14101 write_flash -z 0 GENERIC_S3-20220618-v1.19.1.bin
ampy --help
UART
port ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.SLAB_USBtoUART /dev/cu.usbserial-1410
ampy --port /dev/cu.usbserial-1410 run blink.py