2019-11-12 20:19:05 +01:00
|
|
|
BOARD ?= atmega328p
|
2023-03-30 16:12:49 +02:00
|
|
|
include ../Makefile.drivers_common
|
2019-11-12 20:19:05 +01:00
|
|
|
|
|
|
|
# Update this to your needs
|
2023-01-18 13:48:54 +01:00
|
|
|
# PIN ?= GPIO_PIN(0, 0)
|
|
|
|
# N ?= 8
|
2019-11-12 20:19:05 +01:00
|
|
|
|
|
|
|
USEMODULE += ws281x
|
2021-12-10 14:33:51 +01:00
|
|
|
USEMODULE += xtimer
|
2019-11-12 20:19:05 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2023-03-29 08:57:36 +02:00
|
|
|
EXTERNAL_BOARD_DIRS += $(RIOTBASE)/tests/external_board_dirs/esp-ci-boards
|
|
|
|
|
2019-11-12 20:19:05 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
|
2023-01-18 13:48:54 +01:00
|
|
|
ifneq (, $(PIN))
|
|
|
|
CFLAGS += '-DWS281X_PARAM_PIN=$(PIN)'
|
|
|
|
endif
|
|
|
|
ifneq (, $(N))
|
|
|
|
CFLAGS += '-DWS281X_PARAM_NUMOF=$(N)'
|
|
|
|
endif
|