diff options
author | lokher <lokher@gmail.com> | 2022-08-13 21:39:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 14:39:06 +0100 |
commit | a02aff9c77c15ca9e248f84b09a88386a8f4b0a6 (patch) | |
tree | c37116d7c427cc40e61f87110f1f351b564e3676 /builddefs | |
parent | ee664e0960f912876c19675b61219985abb11d0e (diff) | |
download | qmk_firmware-a02aff9c77c15ca9e248f84b09a88386a8f4b0a6.tar.gz qmk_firmware-a02aff9c77c15ca9e248f84b09a88386a8f4b0a6.zip |
Add led matrix support for CKLED2001 (#17643)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/common_features.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 755a1735e0..a23b5e82b9 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -332,7 +332,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) endif LED_MATRIX_ENABLE ?= no -VALID_LED_MATRIX_TYPES := IS31FL3731 IS31FL3742A IS31FL3743A IS31FL3745 IS31FL3746A custom +VALID_LED_MATRIX_TYPES := IS31FL3731 IS31FL3742A IS31FL3743A IS31FL3745 IS31FL3746A CKLED2001 custom # TODO: IS31FL3733 IS31FL3737 IS31FL3741 ifeq ($(strip $(LED_MATRIX_ENABLE)), yes) @@ -388,6 +388,13 @@ endif QUANTUM_LIB_SRC += i2c_master.c endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), CKLED2001) + OPT_DEFS += -DCKLED2001 -DSTM32_I2C -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/led + SRC += ckled2001-simple.c + QUANTUM_LIB_SRC += i2c_master.c + endif + endif RGB_MATRIX_ENABLE ?= no |