Skip to content

Commit 129137d

Browse files
authored
Add new build for esp32s3dev_8MB_qspi
It seems that several S3 with 8MB flash have slower qspi PSRAM, and they won't boot with the 8MB_opi firmware.
1 parent 0120b1a commit 129137d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

platformio.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ default_envs = nodemcuv2
2929
esp32S3_wroom2
3030
esp32s3dev_16MB_opi
3131
esp32s3dev_8MB_opi
32+
esp32s3dev_8MB_qspi
3233
esp32s3_4M_qspi
3334
usermods
3435

@@ -597,6 +598,19 @@ board_build.f_flash = 80000000L
597598
board_build.flash_mode = qio
598599
monitor_filters = esp32_exception_decoder
599600

601+
[env:esp32s3dev_8MB_qspi]
602+
;; generic ESP32-S3 board with 8MB FLASH and PSRAM (memory_type: qio_qspi). Try this one if esp32s3dev_8MB_opi does not work on your board
603+
extends = env:esp32s3dev_8MB_opi
604+
board_build.arduino.memory_type = qio_qspi
605+
board_build.flash_mode = qio
606+
build_flags = ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=\"ESP32-S3_8MB_qspi\"
607+
-D WLED_WATCHDOG_TIMEOUT=0
608+
;-D ARDUINO_USB_CDC_ON_BOOT=0 ;; -D ARDUINO_USB_MODE=1 ;; for boards with serial-to-USB chip
609+
-D ARDUINO_USB_CDC_ON_BOOT=1 ;; -D ARDUINO_USB_MODE=1 ;; for boards with USB-OTG connector only (USBCDC or "TinyUSB")
610+
-DBOARD_HAS_PSRAM
611+
;; -DLOLIN_WIFI_FIX ;; uncomment if you have WiFi connectivity problems
612+
monitor_filters = esp32_exception_decoder
613+
600614
[env:esp32S3_wroom2]
601615
;; For ESP32-S3 WROOM-2, a.k.a. ESP32-S3 DevKitC-1 v1.1
602616
;; with >= 16MB FLASH and >= 8MB PSRAM (memory_type: opi_opi)

0 commit comments

Comments
 (0)