Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.57 KB

DEBUG_OUTPUT.md

File metadata and controls

40 lines (23 loc) · 1.57 KB

Debug Output Configuration in Arduino IDE

ESP32

  1. Select appropriate (USB-)serial port for your board

    Arduino_IDE-Tools_Port

or

Arduino_IDE-Select_Other_Board_and_Port

  1. Select desired debug level

    Arduino_IDE-Tools_CoreDebugLevel

This passes the define CORE_DEBUG_LEVELto the compiler accordingly.

Refer to the following for some background information

ESP8266

  1. Select appropriate (USB-)serial port for your board

    Arduino_IDE-Tools_Port_ESP8266

  2. Select the appropriate Debug Port (MCU serial interface) of your board

    Arduino_IDE-Tools_Debug_Port_ESP8266

  3. 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>`)