platformio.ini: WLED_DEBUG_HEAP for 16MB debug targets

This commit is contained in:
Frank
2023-06-01 22:13:14 +02:00
committed by GitHub
parent c052da9d0d
commit f87783703b

View File

@@ -820,6 +820,7 @@ build_flags_S =
-D USERMOD_ARTIFX ; WLEDMM usermod
-D WLEDMM_FASTPATH ; WLEDMM experimental option. Reduces audio lag (latency), and allows for faster LED framerates
-D WLEDMM_PROTECT_SERVICE ;; WLEDMM experimental feature to prevent crashes when effects are drawing while async_tcp tries to modify segment or strip objects.
; -D WLED_DEBUG_HEAP ;; WLEDMM enable heap debugging
; -D WLED_DISABLE_LOXONE
; -D WLED_DISABLE_ALEXA
; -D WLED_DISABLE_HUESYNC
@@ -982,6 +983,7 @@ build_flags =
[Debug_Flags]
build_flags =
-DDEBUG=1 ;; enable some debug assertions in the platform core
; -D WLED_DEBUG_HEAP ;; WLEDMM enable heap debugging
-D WLED_DEBUG ; lots of generic debug messages
-D SR_DEBUG ; some extra debug messages from audioreactive
; -D MIC_LOGGER ; for sound input monitoring & debugging (use arduino serial plotter)
@@ -1047,6 +1049,7 @@ build_unflags = ${common.build_unflags}
-D CORE_DEBUG_LEVEL=0
build_flags = ${esp32_4MB_M_base.build_flags}
${Debug_Flags.build_flags}
-D WLED_DEBUG_HEAP ;; WLEDMM enable heap debugging
-D CORE_DEBUG_LEVEL=2 ;; 2=warning
-D WLED_RELEASE_NAME=esp32_16MB_M_debug
monitor_filters = esp32_exception_decoder
@@ -1289,6 +1292,7 @@ build_unflags = ${common.build_unflags}
build_flags = ${esp32_4MB_V4_M_base.build_flags}
${Debug_Flags.build_flags}
-D CORE_DEBUG_LEVEL=4 ;; 0=none, 1=error, 2=warning, 3=info, 4=debug, 5=verbose
-D WLED_DEBUG_HEAP ;; WLEDMM enable heap debugging
-D WLED_RELEASE_NAME=esp32_16MB_V4_M_debug
-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