mirror of
https://github.com/esphome/esphome.git
synced 2025-08-02 16:37:46 +00:00
debug
This commit is contained in:
parent
00e128bdd5
commit
a38f0067ae
@ -203,6 +203,7 @@ async def to_code(config):
|
||||
if CORE.using_esp_idf:
|
||||
# Enable heap tracing in sdkconfig
|
||||
add_idf_sdkconfig_option("CONFIG_HEAP_TRACING", True)
|
||||
add_idf_sdkconfig_option("CONFIG_HEAP_TRACE_STACK_DEPTH", 10)
|
||||
|
||||
# Set tracing mode (standalone or system)
|
||||
if heap_tracing_config[CONF_HEAP_TRACING_STANDALONE]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user