2021-01-07 16:05:35 +01:00
|
|
|
# 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)"
|
2021-02-05 23:16:51 +01:00
|
|
|
depends on HAS_CPU_CORE_ATMEGA || HAS_ARCH_ESP32 || HAS_ARCH_NATIVE
|
2021-01-07 16:05:35 +01:00
|
|
|
depends on TEST_KCONFIG
|
|
|
|
select MODULE_XTIMER
|
2021-02-05 23:16:51 +01:00
|
|
|
select MODULE_WS281X_ATMEGA if HAS_CPU_CORE_ATMEGA
|
2021-01-07 16:05:35 +01:00
|
|
|
select MODULE_WS281X_VT100 if HAS_ARCH_NATIVE
|
|
|
|
select MODULE_WS281X_ESP32 if HAS_ARCH_ESP32
|
|
|
|
|
|
|
|
config MODULE_WS281X_ATMEGA
|
|
|
|
bool
|
2021-02-05 23:16:51 +01:00
|
|
|
depends on HAS_CPU_CORE_ATMEGA
|
2021-01-07 16:05:35 +01:00
|
|
|
|
|
|
|
config MODULE_WS281X_VT100
|
|
|
|
bool
|
|
|
|
depends on HAS_ARCH_NATIVE
|
|
|
|
|
|
|
|
config MODULE_WS281X_ESP32
|
|
|
|
bool
|
|
|
|
depends on HAS_ARCH_ESP32
|
2022-03-02 14:04:04 +01:00
|
|
|
|
2023-03-26 18:34:25 +02:00
|
|
|
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.
|
|
|
|
|
2022-03-02 14:04:04 +01:00
|
|
|
config HAVE_WS281X
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a WS2812/SK6812 RGB LED sensor is present.
|