Feedback
Add to "Logger Component" Docs:
In order to ENABLE LOGGING using "framework: arduino" on MCUs with a USB JTAG Serial Port (i.e. Some ESP32-S3 Models), the following BUILD FLAGS must be defined:
-D CORE_DEBUG_LEVEL=5
-D ARDUINO_USB_CDC_ON_BOOT=1
Example:
esphome:
platformio_options:
build_flags:
- -DARDUINO_USB_MODE=1
- -DARDUINO_USB_CDC_ON_BOOT=1
logger:
level: DEBUG
hardware_uart: USB_CDC
URL
https://esphome.io/components/logger.html
Additional information
No response