Embed gzipped web assets at build time and type LED edit commands.
Generate the web UI headers from c/web/ via scripts/embed_file.py (minify + gzip) and serve them with Content-Encoding, replacing the checked-in web_*.h blobs. Move the LED driver/presets into lib/leds, and parse preset edits into a typed cmd_preset_t on core0 instead of passing raw JSON to core1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b3e9fc9663
commit
bf0429c505
19 files changed
+395
-2205
No files matched your search
@@ -7,6 +7,7 @@
|
||||
#include "ap.h"
|
||||
#include "web.h"
|
||||
#include "led_core.h"
|
||||
#include "cmd_queue.h"
|
||||
|
||||
int main() {
|
||||
stdio_init_all();
|
||||
@@ -19,6 +20,7 @@ int main() {
|
||||
|
||||
printf("led_hoop: Soft-AP + web + LEDs\n");
|
||||
|
||||
cmd_queue_init();
|
||||
multicore_launch_core1(led_core_entry);
|
||||
|
||||
ap_start();
|
||||
|
||||
Reference in new issue
Block a user