1
0
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:
Leandro Lanzieri 2021-01-07 16:05:35 +01:00
parent 2c7616d7d5
commit c0ff2e04d6
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 28 additions and 0 deletions

View File

@ -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
View 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