feat(ota):实现ESP32和GD32的OTA上传流程

- 添加了upload-esp32.js用于处理ESP32的OTA上传,包括文件上传、SHA-256验证和设备重启。
- 引入了upload-gd32.js,用于触发GD32 OTA中继并跟踪中继进度。
- 针对OTA流程,增强了会话管理和错误处理能力。
- 通过在上传过程中显示吐司通知和进度更新,改进了用户反馈。
This commit is contained in:
小龙虾
2026-07-15 12:12:19 +08:00
parent 5a89cec34b
commit a47a027178
48 changed files with 9201 additions and 8212 deletions
+4 -4
View File
@@ -4,11 +4,11 @@
// 固件版本
#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 3
#define FW_VERSION_PATCH 45
#define FW_VERSION_STRING "0.3.45"
#define FW_VERSION_PATCH 46
#define FW_VERSION_STRING "0.3.46"
// 编译时间
#define BUILD_TIME "2026-07-15 02:19:05"
#define BUILD_TIME "2026-07-15 12:08:48"
// Git 信息
#define GIT_HASH "164855a"
#define GIT_HASH "5a89cec"