Commit Graph
64 Commits
Author SHA1 Message Date
chenjintao 93f346a897 fix(platform): initialize gpio isr service once 2026-08-20 10:32:12 +08:00
chenjintao f5b4bd8110 build: add versioned firmware artifact 2026-08-19 10:32:31 +08:00
chenjintao 22a409973e feat(control-plane): add configurable Wi-Fi reset button 2026-08-18 16:00:10 +08:00
chenjintao 96f5e535d3 feat(ui): add weather and lucky color commands 2026-08-18 14:59:07 +08:00
chenjintao e0dbcdd273 feat(input): play sound for muyu strike 2026-08-18 14:17:02 +08:00
chenjintao d386de2320 fix(multimodal): prepare session for cloud fortune draw 2026-08-18 13:52:07 +08:00
chenjintao 5070547b4d feat(ota): show update expression during firmware install 2026-08-18 12:08:48 +08:00
chenjintao 8f8254b397 feat(power): add battery monitoring and status overlays 2026-08-18 11:53:14 +08:00
chenjintao 609fe978f1 fix(multimodal): protect voice startup from background uploads 2026-08-14 18:23:46 +08:00
chenjintao 451d989e78 fix(ota): stabilize periodic checks and HTTPS downloads 2026-08-14 18:23:37 +08:00
chenjintao 5a18036ec6 feat(ota): add authenticated firmware update workflow
- report firmware versions at startup and every six hours with a fresh device JWT
- support optional HMAC headers and retry once after authorization rejection
- handle forced and confirmed updates through managed OTA state
- stream images to the inactive partition and verify size, SHA-256, and format
- coordinate OTA HTTPS activity with voice teardown and restoration
- confirm pending images and expose configuration, status, and integration docs
2026-08-14 15:25:34 +08:00
chenjintao 0cfb10252c fix(multimodal): harden playback and client lifecycle handling
- retry the server connection prompt after transient playback failures
- serialize multimodal client and session start-stop operations
- tag downstream responses to ignore stale packets and playback events
- complete bounded teardown and clean callbacks after partial startup
2026-08-14 15:24:29 +08:00
chenjintao c56c65462e perf(memory): reduce internal RAM pressure across network services
- allocate remote log queues and upload buffers from PSRAM
- move mbedTLS and NimBLE dynamic allocations to external memory
- right-size Wi-Fi state, task monitor, and audio worker stacks
- limit retained remote log files to 12
2026-08-14 10:08:54 +08:00
chenjintao 841fe32c49 feat(provisioning): add mini-program BLE Wi-Fi setup 2026-08-13 15:44:18 +08:00
chenjintao 5711c26a9a fix(network): recover stale Wi-Fi after first HTTPS failure 2026-08-13 09:36:44 +08:00
chenjintao f3da3bfa93 fix(multimodal): release local responding worker correctly 2026-08-13 09:36:44 +08:00
chenjintao f610ee3c55 fix(tls): disable unsafe renegotiation path 2026-08-13 09:36:44 +08:00
chenjintao 1c32d9f0e7 feat(runtime): add diagnostic and network recovery controls 2026-08-12 16:32:40 +08:00
chenjintao a94df9545d fix(multimodal): recover stalled downstream sessions 2026-08-12 16:32:25 +08:00
chenjintao 4e7fadde56 fix(multimodal): keep local responding worker persistent 2026-08-12 16:07:30 +08:00
chenjintao 273550b28b fix(multimodal): reconnect websocket with fresh auth 2026-08-12 10:30:47 +08:00
chenjintao 7a4699ea68 feat(voice): gate local wake prompt on network readiness 2026-08-12 09:47:55 +08:00
chenjintao 004400fee7 fix(lcd): tune asset playback durations 2026-08-11 16:58:27 +08:00
chenjintao 83432d34a3 feat(platform): add temporary spin placeholder asset 2026-08-11 16:40:17 +08:00
chenjintao e5d60ca44b fix(platform): run LCD preheat on render task 2026-08-11 16:29:27 +08:00
chenjintao 0f47e6b585 fix(platform): register wealth direction LCD assets 2026-08-11 16:12:39 +08:00
chenjintao 3ce9b38098 fix(multimodal): stabilize downstream audio playback
- add configurable prebuffer and adaptive rebuffer for packet jitter
- mute stalled output, auto-clear I2S DMA, and abort inactive playback after 3 seconds
- discard stale-generation packets and add optional downstream diagnostics
2026-08-11 15:25:26 +08:00
chenjintao b60a0373ba fix(control_plane): serialize wake prompt after barge-in 2026-08-10 18:11:42 +08:00
chenjintao e48eb2d480 fix(control_plane): restore uplink after barge-in 2026-08-10 17:55:51 +08:00
chenjintao 617255bdab feat(voice): add local wake response prompt
Enable the packaged wake response prompt by default and add the MP3-to-device-Opus conversion utility.
2026-08-10 17:40:12 +08:00
chenjintao e5c1564130 feat(voice): add on-device Miao Zhang Gui wake word
Add an optional local wake response prompt configuration. The prompt asset is intentionally not included yet.
2026-08-10 16:54:42 +08:00
chenjintao d9660164a6 feat(platform): migrate LCD assets to PNG and expand flash partitions 2026-08-10 16:04:23 +08:00
chenjintao 42187ba21d feat(control-plane): trigger cloud draw from SW2 button 2026-08-10 13:53:34 +08:00
wangtianyang 07219e6aad feat(board): align new-board inputs and factory runtime 2026-08-04 14:00:13 +08:00
wangtianyang d5409ea4e3 feat: support ESP32-S3 new board bring-up 2026-08-03 14:06:06 +08:00
CSBOOK\44744 404389f1ea 增加了单击启动对话和长按期间对话,默认使用短按启动对话 2026-07-02 14:02:51 +08:00
CSBOOK\44744 bc74db61a9 电机最大旋转角度限定100度
财位指令旋转电机以后返回原位
2026-07-01 15:54:13 +08:00
CSBOOK\44744 5d7c3f91d4 增加了语音抽签控制屏幕显示
增加了校准和财位控制电机旋转
2026-07-01 15:07:59 +08:00
CSBOOK\44744 aab45b3ec5 增加了工程结构说明和引脚使用说明 2026-06-30 10:17:56 +08:00
CSBOOK\44744 21e5d43766 修复了SW2 双击后抖动,
icon 文件改为每帧只加载一次,整帧绘制期间复用,不再每 8 行重复读取。
2026-06-28 19:16:17 +08:00
CSBOOK\44744 4c6bb66f7c 优化了启动顺序和 storage使用不规范问题 2026-06-28 18:57:02 +08:00
CSBOOK\44744 104c3a10e0 增加了双击SW2显示五行
Flash资源已用完
2026-06-28 18:32:50 +08:00
CSBOOK\44744 984787d736 增加单击SW2抽签功能 2026-06-28 18:14:21 +08:00
CSBOOK\44744 4cc2089192 LCD图片资源放入flash 2026-06-28 17:54:18 +08:00
CSBOOK\44744 b06a4bc2bf 优化了NVS使用,改为/platform_storage.c统一处理 2026-06-28 17:28:38 +08:00
CSBOOK\44744 e15f9e9f23 - 启动自检日志:远程日志启动后记录 endpoint、目录、待上传文件数、队列配置、coredump 状态。
- 上传状态统计:记录成功/失败次数、最后 HTTP 状态、最后错误码、最后上传时间、最后成功时间。
  - 独立日志 Flash 分区:新增 logfs LittleFS 分区 512KB,日志不再占用音频资源分区;远程日志文件上限为 24 * 16KB =
    384KB。

  - 本地诊断 factory CLI:
      - log status
      - log flush
      - log clear

  - Coredump 支持:启用 flash coredump,新增 64KB coredump 分区;当前会上报 coredump 存在状态、地址、大小、panic
    reason 和设备状态快照。

  - 上传附带设备状态快照:reset reason、固件版本、project name、heap、任务数、多模态连接/活动状态、coredump 状态。
2026-06-27 22:55:43 +08:00
CSBOOK\44744 87ba891a8d 远程日志系统基本运行成功 2026-06-27 22:12:28 +08:00
CSBOOK\44744 caa4a7eded 修复了WS连接稳定性问题 2026-06-27 20:29:09 +08:00
CSBOOK\44744 b829cd8ebc 修复了第一次双击和对话没有反应问题 2026-06-27 16:23:21 +08:00
CSBOOK\44744 6aaf13d0a8 基本功能正常,需要解决首次双击没有效果,首次对话没有反应 2026-06-27 10:50:29 +08:00