mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9cbe8bceeb
The current MODULE_WS281X_ATMEGA only supports ATmega core. This update Kconfig to select MODULE_WS281X_ATMEGA module by CPU_CORE_AVR_MEGA instead HAS_ARCH_AVR8. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
20 lines
492 B
Makefile
20 lines
492 B
Makefile
FEATURES_REQUIRED_ANY += cpu_core_atmega|arch_esp32|arch_native
|
|
|
|
ifeq (,$(filter ws281x_%,$(USEMODULE)))
|
|
ifneq (,$(filter cpu_core_atmega,$(FEATURES_USED)))
|
|
USEMODULE += ws281x_atmega
|
|
endif
|
|
ifneq (,$(filter arch_native,$(FEATURES_USED)))
|
|
USEMODULE += ws281x_vt100
|
|
endif
|
|
ifneq (,$(filter arch_esp32,$(FEATURES_USED)))
|
|
USEMODULE += ws281x_esp32
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter ws281x_atmega,$(USEMODULE)))
|
|
FEATURES_REQUIRED += cpu_core_atmega
|
|
endif
|
|
|
|
USEMODULE += xtimer
|