enable core debug messages in 16MB_max_debug configs

This commit is contained in:
Frank
2023-02-22 18:06:34 +01:00
parent f160831d73
commit 62b1422111
2 changed files with 26 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ default_envs =
esp32_pico_4MB_max
esp32_4MB_PSRAM_max
esp32S3_8MB_max
esp32s2_tinyUF2_PSRAM_max ;; experimental - only for adafruit -S2 boards with UF2 bootloader !!!
esp32s2_tinyUF2_PSRAM_max ;; experimental - only for adafruit -S2 boards with tinyUF2 bootloader !!!
esp32c3dev_4MB_max ;; experimental
esp32_4MB_V4_min ;; experimental
esp32_16MB_V4_max ;; experimental
@@ -943,9 +943,13 @@ board_build.partitions = ${Board_ESP32_16MB.board_build.partitions}
[env:esp32_16MB_max_debug]
extends = esp32_4MB_max_base
build_unflags = ${common.build_unflags}
-D CORE_DEBUG_LEVEL=0
build_flags = ${esp32_4MB_max_base.build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_max_debug
-D WLED_DEBUG -D SR_DEBUG
; -D MIC_LOGGER
-D CORE_DEBUG_LEVEL=4 ;; 0=none, 1=error, 2=warning, 3=info, 4=debug, 5=verbose
board = ${Board_ESP32_16MB.board}
board_build.partitions = ${Board_ESP32_16MB.board_build.partitions}
monitor_filters = esp32_exception_decoder
@@ -1131,14 +1135,20 @@ board_build.partitions = ${Board_ESP32_16MB.board_build.partitions}
[env:esp32_16MB_V4_max_debug]
extends = esp32_4MB_V4_max_base
build_unflags = ${common.build_unflags}
-D CORE_DEBUG_LEVEL=0
build_flags = ${esp32_4MB_V4_max_base.build_flags}
-D WLED_RELEASE_NAME=esp32_16MB_V4_max_debug
-D WLED_DEBUG -D SR_DEBUG
; -D MIC_LOGGER
-D CORE_DEBUG_LEVEL=4 ;; 0=none, 1=error, 2=warning, 3=info, 4=debug, 5=verbose
-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
board = ${Board_ESP32_16MB.board}
board_build.partitions = ${Board_ESP32_16MB.board_build.partitions}
monitor_filters = esp32_exception_decoder
; RAM: [== ] 25.0% (used 81780 bytes from 327680 bytes)
; Flash: [======== ] 76.9% (used 1611861 bytes from 2097152 bytes)
;; experimental environment for boards with PSRAM (needs ESP-IDF 4.4.1).
[env:esp32_4MB_PSRAM_max]

15
wled00/wled00.ino.cpp Normal file
View File

@@ -0,0 +1,15 @@
# 1 "C:\\Users\\Frank\\AppData\\Local\\Temp\\tmpewo3dp0a"
#include <Arduino.h>
# 1 "D:/ARDUINO_Work/WORK/#ESP32/WLED_soundreactive-GitHub_DEV/WLED_MoonModules/WLED_mdev_clean/wled00/wled00.ino"
# 13 "D:/ARDUINO_Work/WORK/#ESP32/WLED_soundreactive-GitHub_DEV/WLED_MoonModules/WLED_mdev_clean/wled00/wled00.ino"
#include "wled.h"
void setup();
void loop();
#line 15 "D:/ARDUINO_Work/WORK/#ESP32/WLED_soundreactive-GitHub_DEV/WLED_MoonModules/WLED_mdev_clean/wled00/wled00.ino"
void setup() {
WLED::instance().setup();
}
void loop() {
WLED::instance().loop();
}