17 lines
849 B
Plaintext
17 lines
849 B
Plaintext
# SC-F001 project-level sdkconfig overrides.
|
|
# These are applied during "idf.py reconfigure" and take precedence over IDF defaults.
|
|
# Do NOT override settings that are managed by idf.py menuconfig interactively.
|
|
|
|
# 32kHz external crystal (GPIO32/33) is on the PCB but NOT used.
|
|
# Deep sleep is disabled (soft idle instead), so RTC slow clock accuracy is irrelevant.
|
|
# Time tracking uses esp_timer (40MHz APB crystal, ~20ppm).
|
|
# Use internal 150kHz RC oscillator — avoids failed XTAL probe on boot which can
|
|
# corrupt RTC slow memory (wipes RTC_DATA_ATTR variables like rtc_set, sync_unix_us).
|
|
CONFIG_RTC_CLK_SRC_INT_RC=y
|
|
|
|
# --- Safety & Panic ---
|
|
|
|
# WDT timeout triggers a panic (→ reboot + core dump) instead of just logging.
|
|
# Required for OTA rollback: a hung task causes a reboot, incrementing the reset counter.
|
|
CONFIG_ESP_TASK_WDT_PANIC=y
|