aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-09-28 19:23:13 -0700
committerJack Humbert <jack.humb@gmail.com>2018-09-28 22:23:13 -0400
commit20a10bd0846d502069203419f57e36fd7467df5e (patch)
tree9e01adab03d5f68224279c5615dd3fc0b2b44270
parent3d767e4aab5a6c87cb334a22ffaa9b6ad8e76393 (diff)
downloadqmk_firmware-20a10bd0846d502069203419f57e36fd7467df5e.tar.gz
qmk_firmware-20a10bd0846d502069203419f57e36fd7467df5e.zip
Size fix for Hadron, take 2 (#4009)
* Add Link Time Optimization to reduce firmware size * Disable Mousekeys on Hadron to save room
-rw-r--r--keyboards/hadron/keymaps/default/rules.mk2
-rw-r--r--keyboards/hadron/rules.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/hadron/keymaps/default/rules.mk b/keyboards/hadron/keymaps/default/rules.mk
index 4d08544f3..545ffa75c 100644
--- a/keyboards/hadron/keymaps/default/rules.mk
+++ b/keyboards/hadron/keymaps/default/rules.mk
@@ -5,7 +5,7 @@
5# the appropriate keymap folder that will get included automatically 5# the appropriate keymap folder that will get included automatically
6# 6#
7BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 7BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
8MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 8MOUSEKEY_ENABLE = no # Mouse keys(+4700)
9EXTRAKEY_ENABLE = no # Audio control and System control(+450) 9EXTRAKEY_ENABLE = no # Audio control and System control(+450)
10CONSOLE_ENABLE = no # Console for debug(+400) 10CONSOLE_ENABLE = no # Console for debug(+400)
11COMMAND_ENABLE = no # Commands for debug and configuration 11COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hadron/rules.mk b/keyboards/hadron/rules.mk
index 1f835e066..2a8b78045 100644
--- a/keyboards/hadron/rules.mk
+++ b/keyboards/hadron/rules.mk
@@ -71,3 +71,5 @@ SRC = i2c.c \
71 ssd1306.c 71 ssd1306.c
72 72
73DEFAULT_FOLDER = hadron/ver2 73DEFAULT_FOLDER = hadron/ver2
74
75EXTRAFLAGS += -flto