Add WS2812 LED strip sample and overlays#12
Open
EstebanMenti wants to merge 2 commits intoiomico-public:mainfrom
Open
Add WS2812 LED strip sample and overlays#12EstebanMenti wants to merge 2 commits intoiomico-public:mainfrom
EstebanMenti wants to merge 2 commits intoiomico-public:mainfrom
Conversation
Introduce a WS2812 LED strip sample: add Kconfig options for update delay and brightness, enable LED strip/I2S/DMA in prj.conf, and implement a new main.cpp that drives an LED strip via the Zephyr led_strip API (I2S + DMA). Add device-tree overlay (and a matching zip) for esp32s3 DevKitC to configure I2S, DMA and a ws2812 node. Update west.yml to prefer the espressif HAL. These changes wire up board/device configuration and sample application code to run a simple moving-color pattern on a WS2812 strip.
Introduce APP_LED_SUBSYSTEM menuconfig and include deps/Kconfig.deps; reorganize WS2812 LED settings under a new 'Board Configuration -> LED WS2812' menu. Widen SAMPLE_LED_UPDATE_DELAY range to 10-1000 and keep SAMPLE_LED_BRIGHTNESS. Add an 'Options' menu with a blink-period choice (1000ms / 500ms) and a PERIOD_BLINKING config to control blinking behavior. Update prj.conf to set CONFIG_APP_LED_INT_SAMPLE_BRIGHTNESS=75 and enable CONFIG_APP_LED_ENABLE_CUSTOM_BLINK_PATTERN.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce a WS2812 LED strip sample: add Kconfig options for update delay and brightness, enable LED strip/I2S/DMA in prj.conf, and implement a new main.cpp that drives an LED strip via the Zephyr led_strip API (I2S + DMA). Add device-tree overlay (and a matching zip) for esp32s3 DevKitC to configure I2S, DMA and a ws2812 node. Update west.yml to prefer the espressif HAL. These changes wire up board/device configuration and sample application code to run a simple moving-color pattern on a WS2812 strip.