led-driver: channel default 11, bare ESP-NOW build, settings and USB config updates
Default ESP-NOW channel is now 11. Adds the bare ESP-NOW-only build option (CONFIG_LED_ESPNOW_ONLY) with its sdkconfig fragments, a default hostname from the Wi-Fi MAC, and the related net, link, web and settings changes. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
12a8e225ad
commit
c9838d1cbe
18 files changed
+268
-31
No files matched your search
@@ -0,0 +1,25 @@
|
||||
menu "LED driver"
|
||||
|
||||
config LED_ESPNOW_ONLY
|
||||
bool "Bare ESP-NOW driver (no Wi-Fi, web, USB config, mDNS, DDP or OTA)"
|
||||
default n
|
||||
help
|
||||
Only the LEDs and the ESP-NOW link run: the radio is a station that never
|
||||
joins a network, on the saved ESP-NOW channel, with no access point. The
|
||||
controller changes the settings over ESP-NOW (device_config: name, LED
|
||||
count, data pin, colour order, brightness, startup mode, ESP-NOW channel).
|
||||
Nothing else can: there is no web interface and no USB config port, so
|
||||
set the channel before flashing this (led-tool/espnow_ap_off.py does), or
|
||||
flash it again over USB (the chip's ROM loader always works).
|
||||
sdkconfig.espnow turns it on; build it in build-espnow.
|
||||
|
||||
config LED_TIMING_LOG
|
||||
bool "Log each sequence step's select with a timestamp (timing test)"
|
||||
default n
|
||||
help
|
||||
Prints one USB log line per step select, with the chip's microsecond clock, so a
|
||||
controller's step cadence can be checked against the driver's own timing. It goes
|
||||
out on the USB port, so only build it for a bench test with the port being read.
|
||||
sdkconfig.timing turns it on; build it in build-timing.
|
||||
|
||||
endmenu
|
||||
Reference in new issue
Block a user