summaryrefslogtreecommitdiff
path: root/keyboards/xd84/rules.mk
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2019-02-19 00:48:52 +0000
committerDrashna Jaelre <drashna@live.com>2019-02-18 16:48:52 -0800
commit9a64c6b82ef7fc46e35f7d8c35eeccf3961ba0bf (patch)
treeeb2b6f74648a3a9a2435f5f6c642599c0d843910 /keyboards/xd84/rules.mk
parent030faf951cb99840394c56803958f249383e9362 (diff)
[Keyboard] XD84 fixes for caps lock led, backlight and firmware size (#5178)
* Enable backlight * Enable Link Time Optimization * Enable caps lock led
Diffstat (limited to 'keyboards/xd84/rules.mk')
-rw-r--r--keyboards/xd84/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/xd84/rules.mk b/keyboards/xd84/rules.mk
index 0806d092ff..283d4babc7 100644
--- a/keyboards/xd84/rules.mk
+++ b/keyboards/xd84/rules.mk
@@ -70,7 +70,7 @@ COMMAND_ENABLE = no # Commands for debug and configuration
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no # USB Nkey Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no # Unicode
@@ -83,4 +83,6 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
CUSTOM_MATRIX = yes
SRC = i2c_master.c custom_matrix_helper.c pca9555.c matrix.c
+EXTRAFLAGS += -flto
+
LAYOUTS = 75_ansi 75_iso \ No newline at end of file