- wifi consistently comes up and brings web interface up - switch to websockets for remote control etc - jack extension is limited in its capacity - schedule is now a table, not a range
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
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
|
|
|
|
# --- Web server ---
|
|
|
|
# Enable WebSocket support in esp_http_server. The web UI opens a /ws socket for
|
|
# low-latency remote-control commands (with stop-on-disconnect safety) and a 1 Hz
|
|
# server-pushed status feed, replacing the old 2 s HTTP polling.
|
|
CONFIG_HTTPD_WS_SUPPORT=y
|