1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00
2019-11-18 22:45:40 +01:00

20 lines
468 B
Makefile

BOARD ?= atmega328p
include ../Makefile.tests_common
# Update this to your needs
PIN ?= GPIO_PIN(0, 0)
N ?= 8
USEMODULE += ws281x
FEATURES_REQUIRED := arch_avr8 # <-- Currently only backend for AVR boards
# 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)'