Integrate WS2812 code into quantum core
This commit is contained in:
@@ -143,18 +143,12 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
||||
# AUDIO_ENABLE = YES # Audio output on port C6
|
||||
# UNICODE_ENABLE = YES # Unicode
|
||||
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 bottom RGB light
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with MIDI at the same time.
|
||||
|
||||
ifdef BACKLIGHT_ENABLE
|
||||
SRC += backlight.c
|
||||
endif
|
||||
|
||||
ifdef RGBLIGHT_ENABLE
|
||||
SRC += light_ws2812.c
|
||||
SRC += rgblight.c
|
||||
OPT_DEFS += -DRGBLIGHT_ENABLE
|
||||
endif
|
||||
|
||||
|
||||
# Optimize size but this may cause error "relocation truncated to fit"
|
||||
#EXTRALDFLAGS = -Wl,--relax
|
||||
|
||||
Reference in New Issue
Block a user