P4-Nano: controller port with the C6 as ESP-NOW radio, and the simulator
The controller now builds for the Waveshare ESP32-P4-Nano only (plus the linux sim and the desktop); the S3 stays for the USB/network bridge in bridge/. - radio-c6/: C6 firmware, esp-hosted plus ESP-NOW over peer data. The P4 loads it from the slave_fw partition when the C6 runs another version (c6_update.c) - bridge_hosted.c: the C6 as the always-on "c6" bridge, and the P4 as a network bridge on UDP 8766 for the desktop - Ethernet on the P4's EMAC, ES8311 mic; default address 192.168.50.20. The W5500, INMP441 and direct ESP-NOW code is gone - The simulated rig at /sim/ is built into the board image, with an always-on "browser" bridge. Its frames go through a queue so a slow page cannot hold up the radio, and frames for simulated bars are not sent over the C6. Receiver buffers are on the heap; a bar's flash file is only written when it changes - HTTP server: more handlers, sockets and stack for the rig - docs/P4_NANO.md, README and Makefile updated; graphify output Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ba8e160aee
commit
4ab0c7c6d7
101 files changed
+3284
-971
No files matched your search
@@ -8,74 +8,76 @@
|
||||
"11": "seq_timeline.js",
|
||||
"14": "freertos.c",
|
||||
"15": "unique",
|
||||
"17": "httpd_handle_t",
|
||||
"18": "bridge_dmx.c",
|
||||
"17": "bridge.c",
|
||||
"18": "bridge_main.c",
|
||||
"21": "web.cpp",
|
||||
"22": "desktop_main.c",
|
||||
"22": "espnow_tx.c",
|
||||
"23": "cJSON",
|
||||
"24": "time",
|
||||
"25": "Microdot",
|
||||
"26": "bridge_main.c",
|
||||
"26": "httpd_handle_t",
|
||||
"27": "NoCaseDict",
|
||||
"29": "binary_envelope.py",
|
||||
"31": "auth.c",
|
||||
"32": "nvs_sim.cpp",
|
||||
"32": "BridgeSim",
|
||||
"33": "httpd_parse.c",
|
||||
"34": "test_sequences.py",
|
||||
"35": "seqplay.c",
|
||||
"37": "bridge_serial.c",
|
||||
"37": "bridge_sim.py",
|
||||
"38": "driver_ota.py",
|
||||
"39": "cJSON_IsNumber",
|
||||
"40": "xSemaphoreGive",
|
||||
"41": "WS2812",
|
||||
"42": "run_all",
|
||||
"43": "cJSON_Delete",
|
||||
"43": "create_app",
|
||||
"44": "events",
|
||||
"45": "http_parser.h",
|
||||
"46": "EMSCRIPTEN_KEEPALIVE",
|
||||
"46": "xTaskCreate",
|
||||
"47": "argparse",
|
||||
"50": "steps",
|
||||
"52": "beat.c",
|
||||
"54": "sim_stubs.c",
|
||||
"55": "httpd_ws_frame",
|
||||
"54": "mcu_host/main/main.c",
|
||||
"55": "nvs_open",
|
||||
"56": "test_outputs.py",
|
||||
"57": "httpd_config",
|
||||
"58": "gallery.js",
|
||||
"59": "mic_alsa.c",
|
||||
"60": "test_sim_net.py",
|
||||
"62": "run_test",
|
||||
"62": "sock_db",
|
||||
"64": "ddp_test.py",
|
||||
"65": "ESPNow",
|
||||
"65": "sys",
|
||||
"66": "presets.cpp",
|
||||
"67": "auth.js",
|
||||
"68": "cJSON_AddStringToObject",
|
||||
"68": "cJSON_CreateObject",
|
||||
"69": "httpd_sess.c",
|
||||
"71": "BridgeSim",
|
||||
"71": "LedSimulatorApp",
|
||||
"72": "httpd_data",
|
||||
"74": "espnow_link.cpp",
|
||||
"75": "v1 driver messages (long/short keys)",
|
||||
"77": "sys",
|
||||
"75": "Bench test: S3 controller and one LED driver",
|
||||
"76": "led-controller ESP32-S3 firmware",
|
||||
"77": "transport.py",
|
||||
"78": "sim_split.js",
|
||||
"80": "artnet_dmx.py",
|
||||
"81": "OutputManager",
|
||||
"80": "OutputManager",
|
||||
"81": "artnet_dmx.py",
|
||||
"82": "events",
|
||||
"83": "dmx.js",
|
||||
"84": "test_groups.py",
|
||||
"86": "cJSON_Delete",
|
||||
"86": "httpd_req_t",
|
||||
"88": "events",
|
||||
"89": "relay_forward",
|
||||
"89": "PatternPlayer",
|
||||
"90": "Sender",
|
||||
"91": "Pin",
|
||||
"92": "vTaskDelay",
|
||||
"92": "mdns_host.c",
|
||||
"93": "events",
|
||||
"94": "bench.c",
|
||||
"94": "httpd_resp_set_type",
|
||||
"95": "test_dmx_bridge.py",
|
||||
"96": "sim_demo.py",
|
||||
"97": "esp_timer_start_once",
|
||||
"97": "NeoPixel",
|
||||
"98": "led-controller ESP32-S3 firmware",
|
||||
"99": "cJSON_GetObjectItem",
|
||||
"100": "mdns_host.c",
|
||||
"100": "bridge_dmx.c",
|
||||
"102": "httpd_req_aux",
|
||||
"106": "httpd_main.c",
|
||||
"106": "httpd_txrx.c",
|
||||
"107": "main",
|
||||
"108": "cmakeVariables",
|
||||
"110": "run_soak",
|
||||
@@ -85,10 +87,10 @@
|
||||
"124": "httpd_ws.c",
|
||||
"125": "led_strip_spi_dev.c",
|
||||
"126": "dmx-draw.js",
|
||||
"128": "ws2812.cpp",
|
||||
"131": "PatternPlayer",
|
||||
"132": "microdot.py",
|
||||
"133": "wifi_drv.c",
|
||||
"128": "ESPNow",
|
||||
"131": "layout.py",
|
||||
"132": "Settings",
|
||||
"133": "led-controller on a desktop",
|
||||
"135": "cmakeVariables",
|
||||
"136": "HttpDevice",
|
||||
"137": "events",
|
||||
@@ -98,7 +100,7 @@
|
||||
"144": "settings_editor.js",
|
||||
"147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"148": "postinst",
|
||||
"149": "test_patterns.py",
|
||||
"149": "esp_timer_create",
|
||||
"150": "postrm",
|
||||
"151": "prerm",
|
||||
"152": "vendor.sh",
|
||||
@@ -114,24 +116,24 @@
|
||||
"165": "dmx_bridge.js",
|
||||
"166": "Preset",
|
||||
"167": "httpd_req",
|
||||
"168": "test_audio.py",
|
||||
"168": "idf_device.py",
|
||||
"169": "build_sim_web.sh",
|
||||
"170": "dependencies",
|
||||
"177": "sock_db",
|
||||
"177": "SerialDMX",
|
||||
"178": "dependencies",
|
||||
"179": "httpd_txrx.c",
|
||||
"184": "NeoPixel",
|
||||
"179": "httpd_resp_set_status",
|
||||
"184": "beat_dsp.c",
|
||||
"197": "Test Server Tools",
|
||||
"198": "SerialTransport",
|
||||
"199": "hmac256",
|
||||
"199": "mac_str",
|
||||
"200": "Supported Platforms and Transports",
|
||||
"201": "httpd_ctrl_data",
|
||||
"202": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"203": "Supported Platforms and Transports",
|
||||
"204": "_simlink_proc.py",
|
||||
"205": "dependencies",
|
||||
"206": "ws_slot_drop",
|
||||
"207": "Settings",
|
||||
"206": "http_parser.c",
|
||||
"207": "Request",
|
||||
"208": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"209": "WLAN",
|
||||
"210": "fetch_cache.js",
|
||||
@@ -165,12 +167,12 @@
|
||||
"238": "build-espnow/config/sdkconfig.h",
|
||||
"239": "build-espnow/project_elf_src_esp32c3.c",
|
||||
"240": "build-timing/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"241": "KeyName",
|
||||
"242": "DMX Driver Art-Net and serial gateway",
|
||||
"241": "decode_presets",
|
||||
"242": "v1 driver messages (long/short keys)",
|
||||
"243": "build-timing/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"244": "build-flash/bootloader/config/sdkconfig.h",
|
||||
"245": "build-flash/bootloader/project_elf_src_esp32c3.c",
|
||||
"246": "ctrl_msg.cpp",
|
||||
"246": "src/main.cpp",
|
||||
"247": "build-flash/config/sdkconfig.h",
|
||||
"248": "build-flash/project_elf_src_esp32c3.c",
|
||||
"249": "build-timing/bootloader/config/sdkconfig.h",
|
||||
@@ -179,6 +181,42 @@
|
||||
"252": "build-timing/project_elf_src_esp32c3.c",
|
||||
"253": "dependencies",
|
||||
"254": "dependencies",
|
||||
"255": "bridge_mac_is_dmx",
|
||||
"256": "create_self_signed_certs.sh"
|
||||
"255": "websocket.py",
|
||||
"256": "create_self_signed_certs.sh",
|
||||
"257": "net.cpp",
|
||||
"258": "microdot.py",
|
||||
"259": "events",
|
||||
"260": "events",
|
||||
"261": "Response",
|
||||
"262": "bridge_hosted.c",
|
||||
"263": "patterns.c",
|
||||
"264": "URLPattern",
|
||||
"265": "status_get_handler",
|
||||
"266": "web.c",
|
||||
"267": "machine.py",
|
||||
"268": "Controller on the Waveshare ESP32-P4-Nano",
|
||||
"269": "led_strip_rmt_encoder.c",
|
||||
"270": "httpd_stop",
|
||||
"271": "httpd_ws_frame",
|
||||
"272": "dependencies",
|
||||
"273": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"274": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"275": "build-d61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"276": "build-d61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"277": "flags",
|
||||
"278": "build-d61/bootloader/config/sdkconfig.h",
|
||||
"279": "build-d61/bootloader/project_elf_src_esp32c3.c",
|
||||
"280": "build-d61/config/sdkconfig.h",
|
||||
"281": "build-d61/project_elf_src_esp32c3.c",
|
||||
"282": "move_bars.py",
|
||||
"283": "_simlink.py",
|
||||
"284": "hmac256",
|
||||
"285": "create_https_server.py",
|
||||
"286": "desktop_main.c",
|
||||
"287": "httpd_os_thread_create",
|
||||
"288": "led-driver/main/ota.c",
|
||||
"289": "relay_slot_t",
|
||||
"290": "ws_slot_t",
|
||||
"291": "ws_client_send_text",
|
||||
"292": "ws_client_connect"
|
||||
}
|
||||
Reference in new issue
Block a user