mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/ws281x: add modules to Kconfig
This commit is contained in:
parent
2c7616d7d5
commit
c0ff2e04d6
@ -18,6 +18,7 @@ rsource "grove_ledbar/Kconfig"
|
||||
rsource "motor_driver/Kconfig"
|
||||
rsource "my9221/Kconfig"
|
||||
rsource "rgbled/Kconfig"
|
||||
rsource "ws281x/Kconfig"
|
||||
endmenu # Actuator Device Drivers
|
||||
|
||||
menu "Display Device Drivers"
|
||||
|
27
drivers/ws281x/Kconfig
Normal file
27
drivers/ws281x/Kconfig
Normal file
@ -0,0 +1,27 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_WS281X
|
||||
bool "WS2812/SK6812 RGB LED (NeoPixel)"
|
||||
depends on HAS_ARCH_AVR8 || HAS_ARCH_ESP32 || HAS_ARCH_NATIVE
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_XTIMER
|
||||
select MODULE_WS281X_ATMEGA if HAS_ARCH_AVR8
|
||||
select MODULE_WS281X_VT100 if HAS_ARCH_NATIVE
|
||||
select MODULE_WS281X_ESP32 if HAS_ARCH_ESP32
|
||||
|
||||
config MODULE_WS281X_ATMEGA
|
||||
bool
|
||||
depends on HAS_ARCH_AVR8
|
||||
|
||||
config MODULE_WS281X_VT100
|
||||
bool
|
||||
depends on HAS_ARCH_NATIVE
|
||||
|
||||
config MODULE_WS281X_ESP32
|
||||
bool
|
||||
depends on HAS_ARCH_ESP32
|
Loading…
Reference in New Issue
Block a user