mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/ws281x: Use FEATURES_REQUIRED_ANY
This commit is contained in:
parent
3628db19fd
commit
007ac492ff
@ -779,8 +779,8 @@ ifneq (,$(filter ws281x_%,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ws281x,$(USEMODULE)))
|
||||
FEATURES_OPTIONAL += arch_avr8
|
||||
FEATURES_OPTIONAL += arch_native
|
||||
FEATURES_REQUIRED_ANY += arch_avr8|arch_native
|
||||
|
||||
ifeq (,$(filter ws281x_%,$(USEMODULE)))
|
||||
ifneq (,$(filter arch_avr8,$(FEATURES_USED)))
|
||||
USEMODULE += ws281x_atmega
|
||||
|
@ -7,15 +7,6 @@ N ?= 8
|
||||
|
||||
USEMODULE += ws281x
|
||||
|
||||
# Currently the ws281x only supports AVR-based platforms, the ESP32
|
||||
# and native (via VT100 terminals).
|
||||
# See https://doc.riot-os.org/group__drivers__ws281x.html
|
||||
FEATURES_BLACKLIST += arch_arm
|
||||
FEATURES_BLACKLIST += arch_esp8266
|
||||
FEATURES_BLACKLIST += arch_mips32r2
|
||||
FEATURES_BLACKLIST += arch_msp430
|
||||
FEATURES_BLACKLIST += arch_riscv
|
||||
|
||||
# Only AVR boards CPU clocked at 8MHz or 16 MHz are supported. The Waspmote Pro
|
||||
# is clocked at 14.7456 MHz :-/
|
||||
BOARD_BLACKLIST := waspmote-pro
|
||||
|
Loading…
Reference in New Issue
Block a user