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:
1 parent
94e300f6ad
commit
24dd5ffb15
30 files changed
+2159
-158
No files matched your search
@@ -5,6 +5,7 @@
|
||||
#include "nvs_flash.h"
|
||||
|
||||
#include "ddp.h"
|
||||
#include "espnow_link.h"
|
||||
#include "net.h"
|
||||
#include "ota.h"
|
||||
#include "patterns.h"
|
||||
@@ -30,6 +31,7 @@ extern "C" void app_main(void)
|
||||
ESP_ERROR_CHECK(presets_init());
|
||||
presets_apply_startup();
|
||||
ESP_ERROR_CHECK(net_start());
|
||||
espnow_link_start(); // ESP-NOW from led-controller, if enabled in settings
|
||||
ESP_ERROR_CHECK(web_start());
|
||||
usb_cfg_start(); // led-tool over USB; the LEDs and Wi-Fi work without it
|
||||
ESP_ERROR_CHECK(ddp_start());
|
||||
|
||||
Reference in new issue
Block a user