From 3f8b182e45daae7e3ab1fed8dd1388dd3c2434bb Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sun, 15 Feb 2026 14:45:18 +0100 Subject: [PATCH] change all S3 8MB and 16MB PSRAM builds to "optimize for speed" --- platformio.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index c70467fd..743ad15b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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