diff --git a/platformio.ini b/platformio.ini index ec1e44fe..2b4ebd8b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -2127,7 +2127,7 @@ board_upload.maximum_size =16777216 ;; MM for ESP32-S3 WROOM-2, a.k.a. ESP32-S3 DevKitC-1 v1.1 -;; with >= 16MB FLASH and >= 8MB PSRAM (memory_type: opi_opi) +;; with 16MB FLASH and >= 8MB PSRAM (memory_type: opi_opi) ;; includes HUB75 and AnimArtix [env:esp32S3_WROOM-2_M] extends = env:esp32S3_8MB_PSRAM_M @@ -2161,6 +2161,19 @@ lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_S} ${common_mm.lib_deps_V4_ ${common_mm.HUB75_lib_deps} ${common_mm.animartrix_lib_deps} +;; MM for ESP32-S3 WROOM-2 with 32MB flash and PSRAM +[env:esp32S3_WROOM-2_M_32MB] +extends = env:esp32S3_WROOM-2_M +board_build.partitions = tools/WLED_ESP32_32MB.csv +board_upload.flash_size = 32MB +board_upload.maximum_size = 33554432 +;; replace WLED_RELEASE_NAME, keep everything else +build_unflags = ${env:esp32S3_WROOM-2_M.build_unflags} + -D WLED_RELEASE_NAME=esp32S3_WROOM-2_M +build_flags = ${env:esp32S3_WROOM-2_M.build_flags} + -D WLED_RELEASE_NAME=esp32S3_WROOM-2_M_32MB + + ;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - fastpath, optimize for speed [env:esp32S3_4MB_PSRAM_S] extends = env:esp32S3_8MB_S diff --git a/tools/WLED_ESP32_32MB.csv b/tools/WLED_ESP32_32MB.csv new file mode 100644 index 00000000..2aa06e6f --- /dev/null +++ b/tools/WLED_ESP32_32MB.csv @@ -0,0 +1,7 @@ +# Name, Type, SubType, Offset, Size, Flags +nvs, data, nvs, 0x9000, 0x5000, +otadata, data, ota, 0xe000, 0x2000, +app0, app, ota_0, 0x10000, 0x300000, +app1, app, ota_1, 0x310000,0x300000, +spiffs, data, spiffs, 0x610000,0x19E0000, +coredump, data, coredump,,64K