Files
ZephCore/zephcore/boards/common/debug_esp32.conf
T
2026-06-15 11:15:44 +02:00

16 lines
653 B
Plaintext

# ESP32 debug overrides — applied automatically after debug.conf on ESP32.
#
# debug.conf is written for nRF52 + SEGGER RTT (J-Link). On ESP32 there is no
# J-Link, so RTT produces no output and only wastes ~4KB RAM; logs go out the
# UART/USB console backend instead. The classic ESP32 (T-Beam) is also DRAM
# bound, so the 8KB deferred log buffer doesn't fit. Drop RTT and shrink the
# log buffer here.
# No SEGGER RTT on ESP32 — use the console (UART) log backend.
CONFIG_USE_SEGGER_RTT=n
CONFIG_LOG_BACKEND_RTT=n
CONFIG_LOG_BACKEND_UART=y
# Smaller deferred log buffer (8KB -> 2KB) for the RAM-tight classic ESP32.
CONFIG_LOG_BUFFER_SIZE=2048