feat: ESP-NOW link, beat sync and control messages in the C++ driver

- espnow_link, ctrl_msg and beat_sync: the reliable link, envelopes and
  beat-synced timing.
- ctrl_msg: accept an envelope with the trailing save byte.
- patterns_frame() and espnow_link_poll() split out of their tasks, so the
  WebAssembly simulator can drive one frame and one link pass from a timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-16 19:32:36 +13:00
1 parent 94e300f6ad
commit 24dd5ffb15
30 files changed
+2159 -158

No files matched your search

+6 -5
View File
@@ -1,6 +1,7 @@
# Name, Type, SubType, Offset, Size
nvs, data, nvs, 0x9000, 0x6000
otadata, data, ota, 0xf000, 0x2000
phy_init, data, phy, 0x11000, 0x1000
ota_0, app, ota_0, 0x20000, 0x1E0000
ota_1, app, ota_1, 0x200000, 0x1E0000
# 4 MB flash. The two OTA slots take 1.5 MB each (the app is ~1.2 MB); nvs is at the end.
otadata, data, ota, 0x9000, 0x2000
phy_init, data, phy, 0xB000, 0x1000
ota_0, app, ota_0, 0x10000, 0x180000
ota_1, app, ota_1, 0x190000, 0x180000
nvs, data, nvs, 0x310000, 0xF0000
1 # Name # Name, Type, SubType, Offset, Size Type SubType Offset Size
2 nvs # 4 MB flash. The two OTA slots take 1.5 MB each (the app is ~1.2 MB); nvs is at the end. data nvs 0x9000 0x6000
3 otadata otadata, data, ota, 0x9000, 0x2000 data ota 0xf000 0x2000
4 phy_init phy_init, data, phy, 0xB000, 0x1000 data phy 0x11000 0x1000
5 ota_0 ota_0, app, ota_0, 0x10000, 0x180000 app ota_0 0x20000 0x1E0000
6 ota_1 ota_1, app, ota_1, 0x190000, 0x180000 app ota_1 0x200000 0x1E0000
7 nvs, data, nvs, 0x310000, 0xF0000