adding "-D SR_DMTYPE=254" to classic esp32 builds with HUB75 support

on classic esp32, the HUB75 driver uses the I2S unit. Set AR default to "receive only", to prevent driver conflicts.
This commit is contained in:
Frank
2025-11-23 00:53:38 +01:00
parent d8e07d1609
commit f4d890c584

View File

@@ -1618,6 +1618,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
; -D SR_DEBUG
; -D MIC_LOGGER
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
-D WLED_DISABLE_PARTICLESYSTEM1D ;; exceeds flash size limit
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
@@ -1642,6 +1643,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
; -D SR_DEBUG
; -D MIC_LOGGER
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
-D WLED_USE_ETHERNET
-D WLED_DISABLE_ESPNOW ;; ESP-NOW requires wifi, may crash with ethernet only
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
@@ -1685,6 +1687,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
-D WLED_BOOTUPDELAY=350
${common_mm.HUB75_build_flags}
-DESP32_FORUM_PINOUT
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
${common_mm.animartrix_build_flags}
;;-DARDUINO_EVENT_RUNNING_CORE=0 ;; assign Wifi to core0, to have more CPU on core#1 (arduino loop)
;;-DARDUINO_RUNNING_CORE=1 ;; should be default, but does not hurt
@@ -1747,6 +1750,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
-D JSON_BUFFER_SIZE=18432 -D MIN_HEAP_SIZE=6144
-D MAX_SEGMENT_DATA=40960 ;; default 32767
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
${common_mm.animartrix_build_flags}
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
@@ -1773,6 +1777,7 @@ build_flags = ${esp32_4MB_V4_M_base.esp32_build_flags}
-D FLD_PIN_SCL=-1 -D FLD_PIN_SDA=-1 ; use global!
-D HW_PIN_SCL=22 -D HW_PIN_SDA=21
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
${common_mm.animartrix_build_flags}
lib_deps = ${esp32_4MB_V4_M_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
@@ -1835,6 +1840,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
; -D SR_DEBUG
; -D MIC_LOGGER
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
lib_ignore =
@@ -1886,6 +1892,7 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
; -D SR_DEBUG
; -D MIC_LOGGER
${common_mm.HUB75_build_flags}
-D SR_DMTYPE=254 ;; HUB75 driver needs the I2S unit - set AR default mode to 'Network Receive Only' to prevent driver conflicts.
lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
lib_ignore =