zephyr/drivers/led/Kconfig
Simon Guinot 21f4fef78b drivers: led: add shell support
This patch introduces the "led" shell command. This allows to run the
LED API functions (and to test the LED drivers) from the Zephyr shell.
The following subcommands are supported:

- on
- off
- get_info
- set_brightness
- set_color
- set_channel
- write_channels

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2020-08-28 15:04:35 +02:00

36 lines
727 B
Plaintext

# Copyright (c) 2018 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
# Top-level configuration file for LED drivers.
menuconfig LED
bool "LED drivers"
help
Include LED drivers in the system configuration.
if LED
module = LED
module-str = led
source "subsys/logging/Kconfig.template.log_config"
config LED_INIT_PRIORITY
int "LED initialization priority"
default 90
help
System initialization priority for LED drivers.
config LED_SHELL
bool "LED shell"
depends on SHELL
help
Enable LED shell for testing.
source "drivers/led/Kconfig.ht16k33"
source "drivers/led/Kconfig.lp3943"
source "drivers/led/Kconfig.lp503x"
source "drivers/led/Kconfig.lp5562"
source "drivers/led/Kconfig.pca9633"
endif # LED