|
|
@ -278,6 +278,8 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes)
|
|
|
|
$(error WS2812_DRIVER="$(WS2812_DRIVER)" is not a valid WS2812 driver)
|
|
|
|
$(error WS2812_DRIVER="$(WS2812_DRIVER)" is not a valid WS2812 driver)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OPT_DEFS += -DWS2812_DRIVER_$(strip $(shell echo $(WS2812_DRIVER) | tr '[:lower:]' '[:upper:]'))
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(strip $(WS2812_DRIVER)), bitbang)
|
|
|
|
ifeq ($(strip $(WS2812_DRIVER)), bitbang)
|
|
|
|
SRC += ws2812.c
|
|
|
|
SRC += ws2812.c
|
|
|
|
else
|
|
|
|
else
|
|
|
|