diff options
author | Ryan <fauxpark@gmail.com> | 2023-09-27 10:18:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 01:18:07 +0100 |
commit | 32de27bb20071e4e8614b0fd1f2d289e016ca5a1 (patch) | |
tree | df4394b3a03d8dc83ec9bdd57774453bccc74a99 /builddefs | |
parent | 5da3604ec37fadbc737978d2d8ab77492da478eb (diff) |
is31fl3736: extract single-color API (#22133)
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 973cfba394..edc6f30d64 100644 --- a/builddefs/common_features.mk +++ b/builddefs/common_features.mk @@ -354,7 +354,7 @@ LED_MATRIX_DRIVER := aw20216s endif LED_MATRIX_ENABLE ?= no -VALID_LED_MATRIX_TYPES := is31fl3731 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 custom +VALID_LED_MATRIX_TYPES := is31fl3731 is31fl3736 is31fl3742a is31fl3743a is31fl3745 is31fl3746a ckled2001 custom # TODO: is31fl3733 is31fl3737 is31fl3741 ifeq ($(strip $(LED_MATRIX_ENABLE)), yes) @@ -384,6 +384,13 @@ endif QUANTUM_LIB_SRC += i2c_master.c endif + ifeq ($(strip $(LED_MATRIX_DRIVER)), is31fl3736) + OPT_DEFS += -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/led/issi + SRC += is31fl3736-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 |