diff options
author | Ryan <fauxpark@gmail.com> | 2023-10-03 01:09:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 01:09:20 +1100 |
commit | bd5860de4ed50ee306cee2ef54c7ff4f751a6168 (patch) | |
tree | b64ac52a33a54fe8e1e60541d4d2fe4255d2ec84 /builddefs | |
parent | 6e3f770d0d26230381a57b43843c074508a850e8 (diff) |
is31fl3737/3741: add LED Matrix support (#22163)
Diffstat (limited to 'builddefs')
-rw-r--r-- | builddefs/common_features.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk index 8be4e40d33..5ac392c6a9 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -354,8 +354,7 @@ LED_MATRIX_DRIVER := aw20216s endif LED_MATRIX_ENABLE ?= no -VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 custom -# TODO: is31fl3737 is31fl3741 +VALID_LED_MATRIX_TYPES := is31fl3218 is31fl3731 is31fl3733 is31fl3736 is31fl3737 is31fl3741 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 custom ifeq ($(strip $(LED_MATRIX_ENABLE)), yes) ifeq ($(filter $(LED_MATRIX_DRIVER),$(VALID_LED_MATRIX_TYPES)),) @@ -405,6 +404,20 @@ endif QUANTUM_LIB_SRC += i2c_master.c endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3737) + OPT_DEFS += -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3737-simple.c + QUANTUM_LIB_SRC += i2c_master.c + endif + + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3741) + OPT_DEFS += -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3741-simple.c + QUANTUM_LIB_SRC += i2c_master.c + endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3742a) OPT_DEFS += -DIS31FLCOMMON -DHAL_USE_I2C=TRUE COMMON_VPATH += $(DRIVER_PATH)/led/issi |