docs: Finalize v0.3, add OTA section to USAGE.md

This commit is contained in:
user
2026-02-04 16:26:49 +01:00
parent efc3fec25f
commit 2f90a099b7
3 changed files with 102 additions and 16 deletions

View File

@@ -2,31 +2,37 @@
**Last Updated:** 2026-02-04
## Current Sprint: v0.3 - OTA Updates
## Current Sprint: v0.4 - Adaptive Sampling
### P0 - Critical
- [x] Create dual OTA partition table (`partitions.csv`)
- [x] Update `sdkconfig.defaults` (4MB flash, custom partitions, rollback, HTTP OTA)
- [x] Firmware: OTA command, ota_task, LED_OTA, rollback validation
- [x] Firmware: Add version to STATUS reply
- [ ] `idf.py reconfigure` to regenerate sdkconfig
- [ ] Build and USB-flash first device (partition table change requires USB)
- [ ] On-device CSI wander calculation (simplified)
- [ ] Adaptive rate: 10 pkt/s idle → 100 pkt/s on motion
### P1 - Important
- [x] Pi-side `esp-ota` tool (HTTP server + OTA orchestration)
- [x] `esp-fleet ota` subcommand (sequential fleet OTA)
- [ ] Test OTA end-to-end: `esp-ota amber-maple.local`
- [ ] Regenerate `sdkconfig.sample`
- [ ] Rate change notification to Pi
- [ ] Tunable motion threshold via UDP command
### P2 - Normal
- [ ] OTA update remaining fleet (muddy-storm, hollow-acorn) via USB
- [ ] Test rollback (flash bad firmware, verify auto-revert)
- [ ] Document esp-ota in USAGE.md
### P3 - Low
- [ ] Document esp-crab dual-antenna capabilities
- [ ] Document esp-radar console features
## Completed: v0.3 - OTA Updates
- [x] Dual OTA partition table (`partitions.csv`)
- [x] 4MB flash, custom partitions, rollback in sdkconfig.defaults
- [x] Firmware: OTA command, ota_task, LED_OTA, rollback validation
- [x] Firmware: version in STATUS reply
- [x] Pi-side `esp-ota` tool (HTTP server + OTA orchestration)
- [x] `esp-fleet ota` subcommand (sequential fleet update)
- [x] Build and USB-flash amber-maple (partition table change)
- [x] End-to-end OTA test verified
- [x] Regenerate sdkconfig.sample
- [x] Update CHEATSHEET.md, USAGE.md
## Completed: v0.2 - Remote Management
- [x] Firmware: UDP command listener (port 5501)
@@ -55,5 +61,5 @@
- NVS offset changes with new partition table — first USB flash resets saved config
- First device must be USB-flashed to switch partition table, subsequent updates via OTA
- `esp_https_ota` is built into ESP-IDF core — no extra deps needed
- OTA download ~790 KB on LAN takes ~3-5s, well under 30s watchdog
- OTA download ~896 KB on LAN takes ~3-5s, well under 30s watchdog
- CSI data keeps flowing during OTA download