From 129137d96cc8622b1af823925f7543c35058972d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Fri, 6 Feb 2026 12:58:59 +0100 Subject: [PATCH] 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. --- platformio.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/platformio.ini b/platformio.ini index 06551afd..5de55062 100644 --- a/platformio.ini +++ b/platformio.ini @@ -29,6 +29,7 @@ default_envs = nodemcuv2 esp32S3_wroom2 esp32s3dev_16MB_opi esp32s3dev_8MB_opi + esp32s3dev_8MB_qspi esp32s3_4M_qspi usermods @@ -597,6 +598,19 @@ board_build.f_flash = 80000000L board_build.flash_mode = qio monitor_filters = esp32_exception_decoder +[env:esp32s3dev_8MB_qspi] +;; 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 +extends = env:esp32s3dev_8MB_opi +board_build.arduino.memory_type = qio_qspi +board_build.flash_mode = qio +build_flags = ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=\"ESP32-S3_8MB_qspi\" + -D WLED_WATCHDOG_TIMEOUT=0 + ;-D ARDUINO_USB_CDC_ON_BOOT=0 ;; -D ARDUINO_USB_MODE=1 ;; for boards with serial-to-USB chip + -D ARDUINO_USB_CDC_ON_BOOT=1 ;; -D ARDUINO_USB_MODE=1 ;; for boards with USB-OTG connector only (USBCDC or "TinyUSB") + -DBOARD_HAS_PSRAM + ;; -DLOLIN_WIFI_FIX ;; uncomment if you have WiFi connectivity problems +monitor_filters = esp32_exception_decoder + [env:esp32S3_wroom2] ;; For ESP32-S3 WROOM-2, a.k.a. ESP32-S3 DevKitC-1 v1.1 ;; with >= 16MB FLASH and >= 8MB PSRAM (memory_type: opi_opi)