Channel 11 defaults, ESP-NOW driver config and rig/desktop updates

Moves the controller, bridge and led-driver default ESP-NOW channel to 11 and
updates the led-driver and led-tool submodule pointers. Includes the rest of the
working tree: web UI, desktop and sim-controller changes, API and bridge code,
graphify output, and the .gitea and fixture-driver folders.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-21 01:19:02 +13:00
1 parent 35207a868a
commit edf35e9c71
280 files changed
+24043 -1756

No files matched your search

+8 -2
View File
@@ -3,7 +3,7 @@
# cmake -S desktop -B build-desktop && cmake --build build-desktop
# Needs www_dist/www.pack (tools/build_web.sh). Third-party code is vendored: desktop/tools/vendor.sh.
cmake_minimum_required(VERSION 3.16)
project(led_controller_desktop VERSION 0.1.0 LANGUAGES C)
project(led_controller_desktop VERSION 0.1.0 LANGUAGES C CXX)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
@@ -31,7 +31,7 @@ endif()
set(MAIN_SRC
beat.c beat_dsp.c espnow_tx.c bridge.c store.c api.c web.c envelope.c engine.c rel.c bench.c audio.c
res_profile.c res_misc.c res_device.c res_group.c seqplay.c res_bundle.c audio_api.c patterns.c outputs.c
ws.c ws_client.c wifi_drv.c bridge_serial.c auth.c)
dmx_wire.c ws.c ws_client.c wifi_drv.c bridge_serial.c bridge_dmx.c bridge_dmx_serial.c res_dmx.c auth.c)
list(TRANSFORM MAIN_SRC PREPEND ${ROOT}/main/)
# The host stand-ins for the board's hardware (mic, OTA, littlefs, timers) and the app_main that starts it
@@ -87,6 +87,12 @@ find_library(ASOUND_LIB asound REQUIRED) # ALSA capture for the microphone (lib
target_link_libraries(led-controller PRIVATE Threads::Threads m rt ${ASOUND_LIB})
install(TARGETS led-controller RUNTIME DESTINATION bin)
# led-fixture: one led-driver per fixture of a DMX bridge (fixture-driver/), started by the controller from the
# directory it runs from, so it is built into the same output directory
add_subdirectory(${ROOT}/fixture-driver ${CMAKE_CURRENT_BINARY_DIR}/fixture-driver)
set_target_properties(led-fixture PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
install(TARGETS led-fixture RUNTIME DESTINATION bin)
# Headless install: a .deb with the program, a systemd service and its default settings (`make deb`).
# The service runs as a dynamic user with its store in /var/lib/led-controller.
set(CPACK_PACKAGING_INSTALL_PREFIX /usr)
+1 -1
View File
@@ -62,7 +62,7 @@
#define CONFIG_BEAT_LEAD_MS 30
#define CONFIG_AP_BUTTON_GPIO 44
#define CONFIG_AP_HOLD_MS 1000
#define CONFIG_ESPNOW_CHANNEL 5
#define CONFIG_ESPNOW_CHANNEL 11
#define CONFIG_BEAT_TX_COPIES 2
#define CONFIG_BEAT_TX_GAP_US 2000
#define CONFIG_BEAT_TEST_GPIO -1