or
This passes the define CORE_DEBUG_LEVEL
to the compiler accordingly.
Refer to the following for some background information
- https://thingpulse.com/esp32-logging/
- https://www.mischianti.org/2020/09/20/esp32-manage-multiple-serial-and-logging-for-debugging-3/
- https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-log.h
-
Select appropriate (USB-)serial port for your board
-
Select the appropriate Debug Port (MCU serial interface) of your board
-
If needed, change the debug level in
WeatherSensorCfg.h
#define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_VERBOSE
(Options: `ARDUHAL_LOG_LEVEL_<NONE|ERROR|WARN|INFO|DEBUG|VERBOSE>`)