remove HUB75 driver from esp32_16MB_V4 builds

due to known conflicts with I2S audio input
This commit is contained in:
Frank
2026-02-03 23:11:53 +01:00
parent 7fd23932e4
commit 30ce4c55ba

View File

@@ -83,8 +83,10 @@ default_envs =
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
esp32_4MB_PSRAM_S ;; esp32 WROVER with PSRAM; HUB75 supported
esp32_16MB_V4_S ;; esp32 16MB - HUB75 supported, optimized for speed
esp32_16MB_V4_M ;; esp32 16MB - HUB75 supported
esp32_16MB_V4_S ;; esp32 16MB - without HUB75 driver, optimized for speed
esp32_16MB_V4_M ;; esp32 16MB - without HUB75 driver
esp32_16MB_V4_S_HUB75 ;; esp32 16MB - HUB75 supported, optimized for speed
; esp32_16MB_V4_M_HUB75 ;; esp32 16MB - HUB75 supported
esp32_16MB_V4_M_debug ;; esp32 16MB - for out-of-the-box debugging
;;
esp32S3_4MB_S ;; experimental, for HD-WF2 (HUB75 supported)
@@ -2040,13 +2042,13 @@ board_build.flash_mode = qio ; (dio = dual i/o; more compatible than qio = quad
; Flash: [==========] 98.1% (used 1863653 bytes from 1900544 bytes)
;; V4 build for 16MB flash, optimized for speed; HUB75 supported
[env:esp32_16MB_V4_S]
[env:esp32_16MB_V4_S_HUB75]
extends = esp32_4MB_V4_S_base
build_unflags = ${esp32_4MB_V4_S_base.build_unflags}
${Speed_Flags.build_unflags} ;; to override -Os
build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
${Speed_Flags.build_flags_V4} ;; optimize for speed instead of size
-D WLED_RELEASE_NAME=esp32_16MB_V4_S
-D WLED_RELEASE_NAME=esp32_16MB_V4_S_HUB75
-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.
@@ -2069,11 +2071,27 @@ board_build.partitions = ${esp32.extreme_partitions} ;; WLED extended for 16MB f
; RAM: [== ] 23.7% (used 77704 bytes from 327680 bytes)
; Flash: [======== ] 84.4% (used 1770341 bytes from 2097152 bytes)
;; same as above, but without HUB75 driver - better for I2S audio input
[env:esp32_16MB_V4_S]
extends = env:esp32_16MB_V4_S_HUB75
build_unflags = ${env:esp32_16MB_V4_S_HUB75.build_unflags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_S_HUB75
-D WLED_ENABLE_HUB75MATRIX ;; remove HUB driver
-D WLEDMM_SLOWPATH ;; not necessary without HUB75
-D SR_DMTYPE=254 ;; not necessary without HUB75
build_flags = ${env:esp32_16MB_V4_S_HUB75.build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_S
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.animartrix_lib_deps}
lib_ignore =
${common_mm.HUB75_lib_ignore} ;; remove HUB driver dependancy
; compiled with ESP-IDF 4.4.1; HUB75 included (may have PIN conflicts)
[env:esp32_16MB_V4_M]
[env:esp32_16MB_V4_M_HUB75]
extends = esp32_4MB_V4_M_base
build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_M
-D WLED_RELEASE_NAME=esp32_16MB_V4_M_HUB75
-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 WLED_ENABLE_DMX ;; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX)
@@ -2098,6 +2116,22 @@ board_build.partitions = ${esp32.extreme_partitions} ;; WLED extended for 16MB f
; RAM: [=== ] 25.7% (used 84104 bytes from 327680 bytes)
; Flash: [======== ] 80.7% (used 1692269 bytes from 2097152 bytes)
;; same as above, but without HUB75 driver - better for I2S audio input
[env:esp32_16MB_V4_M]
extends = env:esp32_16MB_V4_M_HUB75
build_unflags = ${env:esp32_16MB_V4_M_HUB75.build_unflags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_M_HUB75
-D WLED_ENABLE_HUB75MATRIX ;; remove HUB driver
-D WLEDMM_SLOWPATH ;; not necessary without HUB75
-D SR_DMTYPE=254 ;; not necessary without HUB75
build_flags = ${env:esp32_16MB_V4_M_HUB75.build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_M
lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
${common_mm.animartrix_lib_deps}
lib_ignore =
${common_mm.HUB75_lib_ignore} ;; remove HUB driver dependancy
[env:esp32_16MB_V4_M_debug]
extends = esp32_4MB_V4_M_base
build_unflags = ${common.build_unflags}