feat: implement modular configurable RGB LED status indicators#275
feat: implement modular configurable RGB LED status indicators#275Mathew005 wants to merge 3 commits into
Conversation
DescriptionThis PR introduces an enhanced, fully configurable RGB LED status indicator system for the ESP32-S3 CSI Node. It expands on the existing design to provide real-time visual feedback across multiple subsystems (Booting, WiFi, mmWave, and Swarm) while remaining flexible through NVS configuration and provisioning. Features
Testing
|
9dfd80b to
5eb7f10
Compare
- Added LED_STATE_MMWAVE_ERROR, LED_STATE_SWARM_ERROR, and LED_STATE_SWARM_ACTIVE. - Integrated mmWave initialization health check into LED status. - Added Swarm Bridge registration, heartbeat, and ingest feedback (Magenta pulse). - Improved overall system status robustness by skipping errors for unconfigured features.
5eb7f10 to
3f5ef89
Compare
|
I've rebased the branch onto the latest main. Here is what was resolved: Integration with #273: Using conditional compilation (#ifdef CONFIG_RGB_LED_ENABLED), the modular RGB status indicator task claims the LED when enabled. If disabled, it cleanly falls back to the one-shot #273 explicit disable logic to prevent Wi-Fi interference. |
Description
This PR implements a comprehensive, configurable RGB LED status indicator system for the ESP32-S3 CSI Node. It provides real-time visual feedback on system states (Booting, WiFi Connecting, Connected, and Error) while remaining fully customizable via Kconfig and NVS.
Features
CONFIG_RGB_LED_ENABLEDandCONFIG_RGB_LED_GPIO(defaults to pin 38).status_ledflag).--status-ledflag.Bug Fixes Included
Testing
--status-led 1: Flawless state transitions from White -> Blue -> Green.--status-led 0: Verified the LED stays completely dark upon boot and throughout operation.