1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/ws281x/Kconfig

63 lines
1.9 KiB
Plaintext

# 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_CPU_CORE_ATMEGA || HAS_ARCH_ESP32 || HAS_ARCH_NATIVE || HAS_PERIPH_TIMER_POLL
depends on TEST_KCONFIG
select MODULE_XTIMER
select MODULE_WS281X_ATMEGA if HAS_CPU_CORE_ATMEGA
select MODULE_WS281X_VT100 if HAS_ARCH_NATIVE
select MODULE_WS281X_ESP32 if HAS_ARCH_ESP32
select MODULE_WS281X_TIMER_GPIO_LL if HAS_PERIPH_TIMER_POLL
config MODULE_WS281X_ATMEGA
bool
depends on HAS_CPU_CORE_ATMEGA
config MODULE_WS281X_VT100
bool
depends on HAS_ARCH_NATIVE
config MODULE_WS281X_ESP32
bool
depends on HAS_ARCH_ESP32
config MODULE_WS281X_ESP32_HW
bool "WS2812/SK6812 RGB LED uses ESP32x RMT"
depends on MODULE_WS281X_ESP32 && HAS_ESP_RMT
default y
help
The driver can use on ESP32x SoCs either the Remote Control (RMT)
peripheral or a bit-banging software implementation to generate the
RGB LED signal. Using the RMT peripheral requires more ROM and RAM but
does not use the CPU to generate the RGB LED signal. Disable this
option if saving ROM and RAM is required.
config MODULE_WS281X_ESP32_SW
bool
depends on MODULE_WS281X_ESP32
default y if !MODULE_WS281X_ESP32_HW
help
Use the bit-banging software implementation to generate the RGB LED
signal.
config MODULE_WS281X_TIMER_GPIO_LL
bool
depends on HAS_PERIPH_TIMER_POLL
select MODULE_PERIPH_TIMER_POLL
depends on HAS_PERIPH_GPIO_LL
select MODULE_PERIPH_GPIO_LL
help
Use a platform independent bit-banging software implementation to
generate the RGB LED signal.
config HAVE_WS281X
bool
help
Indicates that a WS2812/SK6812 RGB LED sensor is present.