diff options
author | Ryan <[email protected]> | 2025-01-25 17:38:12 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2025-01-25 17:38:12 +1100 |
commit | a6e931400ead19d3d34ca4a57785d1512dc2d12b (patch) | |
tree | 7bd11496da317433f129f2736a94939987ccbac8 /builddefs | |
parent | 2dd2d4eb8124cc92c9fb27d657fd9742a75a51e4 (diff) | |
download | qmk_firmware-a6e931400ead19d3d34ca4a57785d1512dc2d12b.tar.gz qmk_firmware-a6e931400ead19d3d34ca4a57785d1512dc2d12b.zip |
Relocate base WS2812 code (#24850)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/common_features.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 989048d717..c88ce36011 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -944,6 +944,8 @@ ifeq ($(strip $(WS2812_DRIVER_REQUIRED)), yes) OPT_DEFS += -DWS2812_$(strip $(shell echo $(WS2812_DRIVER) | tr '[:lower:]' '[:upper:]')) + COMMON_VPATH += $(DRIVER_PATH)/led + SRC += ws2812.c ws2812_$(strip $(WS2812_DRIVER)).c ifeq ($(strip $(PLATFORM)), CHIBIOS) |