zephyr/drivers/led_strip/Kconfig
Dmitrii Sharshakov d3b5a1fc7e led_strip: add a shell for address RGB LEDs
This shell enables manual interaction with led_strip devices like
WS2812 address LEDs.

Example of interaction:
```
uart:~$ led_strip update_rgb ws2812 111111 111111
Invalid number of colors 2 (max 1)
uart:~$ led_strip update_rgb ws2812 1a0011
ws2812: updating 1 pixels: (26, 0, 17)
uart:~$ led_strip update_rgb ws2812 000011
ws2812: updating 1 pixels: (0, 0, 17)
uart:~$ led_strip update_rgb ws2812 1a2200
ws2812: updating 1 pixels: (26, 34, 0)
```

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2026-03-03 17:56:17 +01:00

53 lines
1.4 KiB
Text

# Top-level configuration file for LED strip drivers.
# Copyright (c) 2017 Linaro Limited
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig LED_STRIP
bool "Light-Emitting Diode (LED) strip drivers"
help
Include LED strip drivers in the system configuration.
if LED_STRIP
module = LED_STRIP
module-str = LED strip
source "subsys/logging/Kconfig.template.log_config"
config LED_STRIP_INIT_PRIORITY
int "LED strip initialization priority"
default 90
help
System initialization priority for LED strip drivers.
config LED_STRIP_SHELL
bool "LED strip shell"
depends on SHELL
help
Enable LED strip shell for testing.
config LED_STRIP_SHELL_MAX_PIXELS
int "Maximum number of LEDs that the shell can access"
default 16
depends on LED_STRIP_SHELL
help
The commands that expect pixel colors to be listed will accept no
more pixels than this value.
# Hidden option. The extra byte enables efficient serialization and transmission
# for drivers which require 4 B on wire for every 3 B of color, e.g. APA102, but
# is not normally needed.
config LED_STRIP_RGB_SCRATCH
bool
# zephyr-keep-sorted-start
source "drivers/led_strip/Kconfig.apa102"
source "drivers/led_strip/Kconfig.lpd880x"
source "drivers/led_strip/Kconfig.modulino"
source "drivers/led_strip/Kconfig.tlc5971"
source "drivers/led_strip/Kconfig.tlc59731"
source "drivers/led_strip/Kconfig.ws2812"
# zephyr-keep-sorted-stop
endif # LED_STRIP