aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk
index 2806544f8..088db89ca 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -304,6 +304,12 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes)
304 SRC += ws2812.c 304 SRC += ws2812.c
305 else 305 else
306 SRC += ws2812_$(strip $(WS2812_DRIVER)).c 306 SRC += ws2812_$(strip $(WS2812_DRIVER)).c
307
308 ifeq ($(strip $(PLATFORM)), CHIBIOS)
309 ifeq ($(strip $(WS2812_DRIVER)), pwm)
310 OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE
311 endif
312 endif
307 endif 313 endif
308 314
309 # add extra deps 315 # add extra deps