1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_ws281x/Makefile
Benjamin Valentin 720eff3416 tests/driver_ws281x: allow build on native
Also add an additional newline before each test title to improve
the rendering on native console output.
2020-02-10 14:45:26 +01:00

22 lines
457 B
Makefile

BOARD ?= atmega328p
include ../Makefile.tests_common
# Update this to your needs
PIN ?= GPIO_PIN(0, 0)
N ?= 8
USEMODULE += ws281x
ifneq (native, $(BOARD))
FEATURES_REQUIRED += arch_avr8
endif
# 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
include $(RIOTBASE)/Makefile.include
CFLAGS += '-DWS281X_PARAM_PIN=$(PIN)'
CFLAGS += '-DWS281X_PARAM_NUMOF=$(N)'