diff options
author | MelGeek <65591833+melgeek001365@users.noreply.github.com> | 2020-06-20 12:49:15 +0800 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-08-08 21:21:18 -0700 |
commit | 872cabee5b3536d60df7140fc5c9b554772a099b (patch) | |
tree | 6d97d9d546b782746e833e9ba8bbac371bbc4588 /common_features.mk | |
parent | 2d5109e244c1fcd3b0ff27ce4407ea261c792568 (diff) |
Support IS31FL3741 and IS31FL3741A. (#9201)
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk index 6d5dfffa07..57b812a624 100644 --- a/common_features.mk +++ b/common_features.mk @@ -144,7 +144,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) endif endif -VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 WS2812 custom +VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 IS31FL3741 WS2812 custom LED_MATRIX_ENABLE ?= no ifneq ($(strip $(LED_MATRIX_ENABLE)), no) @@ -205,6 +205,13 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), IS31FL3737) QUANTUM_LIB_SRC += i2c_master.c endif +ifeq ($(strip $(RGB_MATRIX_ENABLE)), IS31FL3741) + OPT_DEFS += -DIS31FL3741 -DSTM32_I2C -DHAL_USE_I2C=TRUE + COMMON_VPATH += $(DRIVER_PATH)/issi + SRC += is31fl3741.c + QUANTUM_LIB_SRC += i2c_master.c +endif + ifeq ($(strip $(RGB_MATRIX_ENABLE)), WS2812) OPT_DEFS += -DWS2812 WS2812_DRIVER_REQUIRED := yes |