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

@@ -0,0 +1,11 @@
#pragma once
#include "esp_err.h"
/**
* Check integrity of critical NVS namespaces at startup.
* Detects corrupted entries and attempts automatic repair.
*
* @return ESP_OK if all namespaces are healthy, ESP_ERR_INVALID_STATE if corruption was found and repaired
*/
esp_err_t nvs_safety_check(void);