1
0
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:
Marian Buschsieweke 2020-02-11 20:56:02 +01:00
parent 3628db19fd
commit 007ac492ff
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F
2 changed files with 2 additions and 11 deletions

View File

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

View File

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