Enable SMARTMATRIX for V4 builds

This commit is contained in:
Will Tatam
2023-10-25 19:42:54 +01:00
parent 31edc73380
commit df9810e44d

View File

@@ -963,6 +963,7 @@ lib_deps_V4_M =
paulstoffregen/OneWire@ ^2.3.7 ; used for USERMOD_DALLASTEMPERATURE -> need newer release with bugfixes for -S3; still requires TEMPERATURE_PIN < 46
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
${common_mm.animartrix_lib_deps}
https://github.com/netmindz/SmartMatrix.git#platform-2-support
build_flags_XL =
-D USERMOD_WEATHER ; WLEDMM usermod
@@ -1045,6 +1046,7 @@ build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${common_mm.build_fla
;-Wstack-usage=2732 ;; warn if a function needs more that 30% of availeable stack ("stack usage might be unbounded", "stack usage is 2824 bytes")
;-Wsuggest-attribute=const -Wsuggest-attribute=pure ;; ask compiler for hints on attributes
-D WLED_ENABLE_DMX_INPUT
-D WLED_ENABLE_SMARTMATRIX
lib_deps = ${esp32.lib_depsV4} ${common_mm.lib_deps_S}
https://github.com/someweisguy/esp_dmx.git#v3.0.2-beta ;; for DMX_INPUT
board_build.partitions = ${esp32.default_partitions}