Please try the following platformio.ini
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = opi_opi
board_build.flash_mode = opi
board_build.psram_type = opi
board_upload.flash_size = 32MB
board_upload.maximum_size= 33554432
build_flags =
-DBOARD_HAS_PSRAM
-DARDUINO_USB_CDC_ON_BOOT=1
upload_speed = 460800
monitor_speed = 9600
upload_port = /dev/cu.usbmodem14601
monitor_port = /dev/cu.usbmodem14601
Note:
The line “-DARDUINO_USB_CDC_ON_BOOT=1
” routes the output of the Serial
object to the native USB port instead of the UART port! See ESP32-S3 native USB interface and Serial Monitor missing first messages - #10 by sivar2311
Your partition table defines 2 x 14 MB for the application and only 2 MB for the SPIFFS partition. Is that really your intention?
The size for the application seems far too large to me and too small for the SPIFFS.
There is a gap of 60 kb between OTA-Data and APP0!