From 5eab1e7cece2fd2dd87a47e198ba475c3de64177 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:25:13 +0100 Subject: [PATCH] adding esp32_4MB_V4_S buildenv without HUB75 driver this build might work better for users with I2S microphone, because the HUB75 driver can interfere with the I2S driver. --- platformio.ini | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index d32b7917..af3b5857 100644 --- a/platformio.ini +++ b/platformio.ini @@ -78,6 +78,7 @@ default_envs = esp32_pico_4MB_V4_S ;; PICO D4 board esp32_4MB_V4_S_HUB75 ;; esp32 4MB - HUB75 supported esp32_4MB_V4_HUB75_forum ;; esp32 4MB - HUB75 supported (forum pinout) + esp32_4MB_V4_S ;; without HUB75 driver - might work better with I2S microphones esp32_4MB_M_eth ;; esp32 4MB with ethernet support esp32_4MB_V4_S_eth ;; esp32 4MB "V4" build with ethernet support ; esp32_4MB_PSRAM_REV3_S ;; WROVER-E experimental, optimized for WROVER-E with "revision3" chip @@ -1852,8 +1853,35 @@ lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compila ; RAM: [=== ] 25.5% (used 83396 bytes from 327680 bytes) ; Flash: [==========] 98.2% (used 1543949 bytes from 1572864 bytes) -[env:esp32_4MB_V4_S] ;; legacy alias -extends = env:esp32_4MB_V4_S_HUB75 +[env:esp32_4MB_V4_S] ;; without HUB75 driver - might work better with I2S microphones +extends = esp32_4MB_V4_S_base +;; board_build.partitions = ${esp32.default_partitions} ;; compatible with upstream +build_unflags = ${esp32_4MB_V4_S_base.build_unflags} + ${common_mm.DMXin_build_flags} ;; exceeds flash size limits +build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags} + -D WLED_RELEASE_NAME=esp32_4MB_V4_S + -D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET + -D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup + -D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates. May break compatibility with previous versions. + -D WLEDMM_SAVE_FLASH + -D WLED_DISABLE_LOXONE + -D WLED_DISABLE_ALEXA + -D WLED_DISABLE_HUESYNC + -D WLED_DISABLE_MQTT + -D WLED_DISABLE_INFRARED + -D WLED_DISABLE_ESPNOW ;; might help in case of WiFi connectivity problems + -D WLED_ENABLE_PIXELFORGE + -D WLEDMM_SAVE_FLASH + ; -D WLED_DEBUG + ; -D SR_DEBUG + ; -D MIC_LOGGER + ;; -D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - this sets AR default mode to 'Network Receive Only' to prevent driver conflicts. + ;; -D WLED_DISABLE_PARTICLESYSTEM1D + ;; -D WLED_DISABLE_PARTICLESYSTEM2D +lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps} +lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation + ${common_mm.DMXin_lib_ignore} + ${common_mm.HUB75_lib_ignore} ; standard MM build for classic esp32; HUB75 not included [env:esp32_4MB_V4_M]