feat: 实现时间同步、NVS稳定性修复和ESP-IDF v6.0兼容性改进

This commit is contained in:
2026-04-01 18:58:20 +08:00
parent 540bfe825f
commit 9815ab8df0
17 changed files with 942 additions and 31 deletions

View File

@@ -6,3 +6,13 @@ CONFIG_LWIP_LOCAL_HOSTNAME="mimiclaw"
# SPIFFS: increase max filename length (default 32 is too short for session files)
CONFIG_SPIFFS_OBJ_NAME_LEN=64
# Brownout Detection: protect against power drops during Flash/NVS writes
CONFIG_ESP32S3_BROWNOUT_DET=y
CONFIG_ESP32S3_BROWNOUT_DET_LVL_SEL_7=y
CONFIG_ESP32S3_BROWNOUT_DET_LVL=7
# SNTP: enable SNTP support for automatic time sync
# NOTE: CONFIG_LWIP_SNTP_MAX_SERVERS may be deprecated in ESP-IDF v6.0
# If compilation fails, comment out this line or use the new SNTP component config
CONFIG_LWIP_SNTP_MAX_SERVERS=4