diff options
| author | XScorpion2 <rcalt2vt@gmail.com> | 2019-04-14 20:50:35 -0400 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-14 17:50:35 -0700 |
| commit | 5fcd744ddba591829a129560992b2e43fb615d4d (patch) | |
| tree | 33b78133af1563f5dfa1e125a37f86e30a7df1cb /common_features.mk | |
| parent | d7ba190cd9b90bce3a00dfa2a9afe4b3bf0a1dbb (diff) | |
| download | qmk_firmware-5fcd744ddba591829a129560992b2e43fb615d4d.tar.gz qmk_firmware-5fcd744ddba591829a129560992b2e43fb615d4d.zip | |
Features/ws2812 matrix driver (#5418)
* WS2812 driver implementation for RGB Matrix
* Added driver configuration docs
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk index c3b6fa916..bd1685869 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -114,7 +114,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) | |||
| 114 | endif | 114 | endif |
| 115 | endif | 115 | endif |
| 116 | 116 | ||
| 117 | VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 custom | 117 | VALID_MATRIX_TYPES := yes IS31FL3731 IS31FL3733 IS31FL3737 WS2812 custom |
| 118 | 118 | ||
| 119 | LED_MATRIX_ENABLE ?= no | 119 | LED_MATRIX_ENABLE ?= no |
| 120 | ifneq ($(strip $(LED_MATRIX_ENABLE)), no) | 120 | ifneq ($(strip $(LED_MATRIX_ENABLE)), no) |
| @@ -172,6 +172,11 @@ ifeq ($(strip $(RGB_MATRIX_ENABLE)), IS31FL3737) | |||
| 172 | SRC += i2c_master.c | 172 | SRC += i2c_master.c |
| 173 | endif | 173 | endif |
| 174 | 174 | ||
| 175 | ifeq ($(strip $(RGB_MATRIX_ENABLE)), WS2812) | ||
| 176 | OPT_DEFS += -DWS2812 | ||
| 177 | SRC += ws2812.c | ||
| 178 | endif | ||
| 179 | |||
| 175 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) | 180 | ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) |
| 176 | OPT_DEFS += -DTAP_DANCE_ENABLE | 181 | OPT_DEFS += -DTAP_DANCE_ENABLE |
| 177 | SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c | 182 | SRC += $(QUANTUM_DIR)/process_keycode/process_tap_dance.c |
