mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 07:31:51 +00:00
36 lines
811 B
YAML
36 lines
811 B
YAML
esphome:
|
|
name: esp32-heap-trace
|
|
platform: ESP32
|
|
board: esp32dev
|
|
# Use ESP-IDF framework which is required for heap tracing
|
|
framework:
|
|
type: esp-idf
|
|
version: recommended
|
|
|
|
# Enable logging
|
|
logger:
|
|
level: INFO
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
# Enable heap tracing with the following configuration
|
|
heap_tracing:
|
|
# Use standalone tracing (vs system tracing)
|
|
standalone: true
|
|
# Number of trace records to keep (more records = more memory usage)
|
|
num_records: 100
|
|
# Enable task statistics tracking (shows task names, stack usage, etc.)
|
|
task_tracking: true
|
|
|
|
# Enable OTA updates
|
|
ota:
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
|
|
# Enable fallback hotspot in case wifi connection fails
|
|
ap:
|
|
ssid: "Esp32-Heap-Trace"
|
|
password: "12345678"
|