partitions file for boards with 32MB flash, buildenv for WROOM-2 32MB

This commit is contained in:
Frank
2025-11-23 01:09:52 +01:00
parent f4d890c584
commit 086ae216c8
2 changed files with 21 additions and 1 deletions

View File

@@ -2127,7 +2127,7 @@ board_upload.maximum_size =16777216
;; MM for ESP32-S3 WROOM-2, a.k.a. ESP32-S3 DevKitC-1 v1.1 ;; 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 ;; includes HUB75 and AnimArtix
[env:esp32S3_WROOM-2_M] [env:esp32S3_WROOM-2_M]
extends = env:esp32S3_8MB_PSRAM_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.HUB75_lib_deps}
${common_mm.animartrix_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 ;; MM for esp32-s3 zero/supermini and lolin S3 mini boards - fastpath, optimize for speed
[env:esp32S3_4MB_PSRAM_S] [env:esp32S3_4MB_PSRAM_S]
extends = env:esp32S3_8MB_S extends = env:esp32S3_8MB_S

View File

@@ -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
1 # Name, Type, SubType, Offset, Size, Flags
2 nvs, data, nvs, 0x9000, 0x5000,
3 otadata, data, ota, 0xe000, 0x2000,
4 app0, app, ota_0, 0x10000, 0x300000,
5 app1, app, ota_1, 0x310000,0x300000,
6 spiffs, data, spiffs, 0x610000,0x19E0000,
7 coredump, data, coredump,,64K