diff options
author | Ryan <fauxpark@gmail.com> | 2023-09-17 22:11:16 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-17 22:11:16 +1000 |
commit | 1ea54a2d8da9e64e5a2c1fd882a13058523b50bc (patch) | |
tree | f76a5092995ae9a3440729135765625f50684f09 /builddefs | |
parent | 32126dc4f01142dbc61f52c9d225bb53faf2d12c (diff) |
Complete RGB Matrix support for IS31FL3218 (#22004)
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 18f8b0bbfc..1597022d63 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -416,7 +416,7 @@ endif RGB_MATRIX_ENABLE ?= no -VALID_RGB_MATRIX_TYPES := aw20216s is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom +VALID_RGB_MATRIX_TYPES := aw20216s is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 ws2812 custom ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) ifeq ($(filter $(RGB_MATRIX_DRIVER),$(VALID_RGB_MATRIX_TYPES)),) $(call CATASTROPHIC_ERROR,Invalid RGB_MATRIX_DRIVER,RGB_MATRIX_DRIVER="$(RGB_MATRIX_DRIVER)" is not a valid matrix type) @@ -444,6 +444,13 @@ endif QUANTUM_LIB_SRC += spi_master.c endif + ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3218) + OPT_DEFS += -DIS31FL3218 -DSTM32_I2C -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3218.c + QUANTUM_LIB_SRC += i2c_master.c + endif + ifeq ($(strip $(RGB_MATRIX_DRIVER)), is31fl3731) OPT_DEFS += -DIS31FL3731 -DSTM32_I2C -DHAL_USE_I2C=TRUE COMMON_VPATH += $(DRIVER_PATH)/led/issi |