-
Notifications
You must be signed in to change notification settings - Fork 361
Closed
Description
Environment:
-Windows
-VS code with arduino-esp32 v3.3.0 & ESP-IDF 5.5
-CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y
in menuconfig due to espressif/arduino-esp32#11661
Console output during compiling:
In file included from H:/Project/components/ESP32-audioI2S/src/Audio.cpp:22:
H:/Project/components/ESP32-audioI2S/src/vorbis_decoder/vorbis_decoder.h: In function 'void VORBIS_LOG_IMPL(uint8_t, const char*, int, const char*, Args&& ...)':
E:/ESP32/VS-RPiDisplay/components/ESP32-audioI2S/src/vorbis_decoder/vorbis_decoder.h:356:31: error: 'CORE_DEBUG_LEVEL' was not declared in this scope; did you mean 'XCHAL_DEBUGLEVEL'?
356 | if (level == 1 && CORE_DEBUG_LEVEL >= 1) snprintf(dest, total_len + 1, "%s:%d:" ANSI_ESC_RED " %s" ANSI_ESC_RESET, file.c_get(), line, dst);
| ^~~~~~~~~~~~~~~~
| XCHAL_DEBUGLEVEL
ninja: build stopped: subcommand failed.
Recommended fix:
if detected CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP=y
i.e. #ifdef CONFIG_DIAG_USE_EXTERNAL_LOG_WRAP
, skip checking CORE_DEBUG_LEVEL
Metadata
Metadata
Assignees
Labels
No labels