change all S3 8MB and 16MB PSRAM builds to "optimize for speed"

This commit is contained in:
Frank
2026-02-15 14:45:18 +01:00
parent b25af92ddd
commit 3f8b182e45

View File

@@ -99,8 +99,8 @@ default_envs =
esp32S3_4MB_S ;; experimental, for HD-WF2 (HUB75 supported)
esp32S3_4MB_PSRAM_S ;; for lolin s3 mini, S3 zero, S3 super mini - optimized for speed (no HUB75 support)
esp32S3_4MB_PSRAM_M ;; for lolin s3 mini, S3 zero, S3 super mini (no HUB75 support)
;; === esp32-S3 === with 8MB flash
esp32S3_8MB_S ;; experimental, optimized for speed, HUB75 supported
;; === esp32-S3 === with 8MB flash, optimized for speed
esp32S3_8MB_S ;; HUB75 supported
;; esp32S3_8MB_M ;; HUB75 supported
esp32S3_8MB_PSRAM_M_qspi ;; for S3 with 8MB flash, 2 or 4MB PSRAM, HUB75 supported
esp32S3_8MB_PSRAM_M_opi ;; for S3 with 8MB flash, 8 or 16MB PSRAM, HUB75 supported
@@ -2373,8 +2373,10 @@ board_build.arduino.memory_type = qio_opi ;; use with PSRAM: 8MB or 16MB
board_build.flash_mode = qio ;; use "dio" if your board gets unstable with "qio"; also change then previous lines accordingly (memory_type)
build_unflags = ${env:esp32S3_8MB_M.build_unflags} ;; use the same as "normal" S3 buildenv
${Speed_Flags.build_unflags} ;; to override -Os
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
${common_mm.build_flags_S} ${common_mm.build_flags_M}
${Speed_Flags.build_flags} ;; Optimize for speed
${common_mm.HUB75_build_flags}
-DBOARD_HAS_PSRAM ;; -D WLED_USE_PSRAM ;; your board supports PSRAM
-D WLED_USE_PSRAM_JSON -DALL_JSON_TO_PSRAM ; WLEDMM --> force all JSON stuff into PSRAM; gives more free heap