X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common_features.mk;fp=common_features.mk;h=bd1685869d0f9df3588ded77656fbbe5aad8b3da;hb=5fcd744ddba591829a129560992b2e43fb615d4d;hp=c3b6fa9168452ad381012a4b88955139568c93f8;hpb=d7ba190cd9b90bce3a00dfa2a9afe4b3bf0a1dbb;p=qmk_firmware.git diff --git a/common_features.mk b/common_features.mk index c3b6fa916..bd1685869 100644 --- a/common_features.mk +++ b/common_features.mk @@ -114,7 +114,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) endif endif -VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 custom +VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 WS2812 custom LED_MATRIX_ENABLE ?= no ifneq ($(strip $(LED_MATRIX_ENABLE)), no) @@ -172,6 +172,11 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), IS31FL3737) SRC += i2c_master.c endif +ifeq ($(strip $(RGB_MATRIX_ENABLE)), WS2812) + OPT_DEFS += -DWS2812 + SRC += ws2812.c +endif + ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) OPT_DEFS += -DTAP_DANCE_ENABLE SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c