Skip to content

Commit

Permalink
Update platformio.ini - ESP32 build env with HUB75 support
Browse files Browse the repository at this point in the history
build_flags were still using "old style" HUB75 flags
  • Loading branch information
softhack007 authored Dec 13, 2024
1 parent 151e7a8 commit 8e64a20
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1643,9 +1643,10 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
; -D WLED_DEBUG
; -D SR_DEBUG
; -D MIC_LOGGER
-D WLED_ENABLE_HUB75MATRIX
${common_mm.HUB75_build_flags}

lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
; RAM: [=== ] 28.1% (used 91960 bytes from 327680 bytes)
; Flash: [==========] 97.8% (used 1537777 bytes from 1572864 bytes)
Expand All @@ -1662,14 +1663,14 @@ build_unflags = ${esp32_4MB_V4_S_base.build_unflags}
-DARDUINO_EVENT_RUNNING_CORE=1
;;-DCORE_DEBUG_LEVEL=0
;; -D NDEBUG
-D NO_CIE1931 ;; Do use LED brightness compensation described in CIE 1931
;; -D NO_CIE1931 ;; Do use LED brightness compensation described in CIE 1931

build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
;; -Wsuggest-attribute=const -Wsuggest-attribute=pure
;; -Wmissing-noreturn -Wmissing-return
;; -Wall -Wextra
-Wno-unused-value -Wno-format -Wno-type-limits
-D WLED_RELEASE_NAME=esp32_4MB_V4_HUB75
-D WLED_RELEASE_NAME=esp32_4MB_V4_HUB75_forum
${Speed_Flags.build_flags_V4} ;; -O2 -> optimize for speed instead of size
;; -D DEBUG
-D WLED_WATCHDOG_TIMEOUT=0 #-D WLED_DISABLE_BROWNOUT_DET
Expand All @@ -1684,8 +1685,8 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
;; -D WLED_DEBUG
;; -D SR_DEBUG
-D WLED_BOOTUPDELAY=350
-D WLED_ENABLE_HUB75MATRIX -DESP32_FORUM_PINOUT
;; -D HUB75_NO_DOUBLEBUFFER ;; -D PIXEL_COLOUR_DEPTH_BITS=12
${common_mm.HUB75_build_flags}
-DESP32_FORUM_PINOUT
${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
Expand All @@ -1696,11 +1697,9 @@ build_flags = ${esp32_4MB_V4_S_base.esp32_build_flags}
-D WLEDMM_SAVE_FLASH
-D WLED_DISABLE_BROWNOUT_DET
;;-DCORE_DEBUG_LEVEL=1
;;-D WLED_DISABLE_PARTICLESYSTEM1D
;;-D WLED_DISABLE_PARTICLESYSTEM2D
;;-D WLED_DISABLE_PARTICLESYSTEM_BUFFER

lib_deps = ${esp32_4MB_V4_S_base.esp32_lib_deps}
${common_mm.HUB75_lib_deps}
${common_mm.animartrix_lib_deps}
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
;; ${common_mm.DMXin_lib_ignore}
Expand Down

0 comments on commit 8e64a20

Please sign in to comment.