summaryrefslogtreecommitdiffstats
path: root/keyboards/hadron
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-09-29 04:23:13 +0200
committerJack Humbert <jack.humb@gmail.com>2018-09-29 04:23:13 +0200
commit20a10bd0846d502069203419f57e36fd7467df5e (patch)
tree9e01adab03d5f68224279c5615dd3fc0b2b44270 /keyboards/hadron
parent3d767e4aab5a6c87cb334a22ffaa9b6ad8e76393 (diff)
downloadqmk_firmware-20a10bd0846d502069203419f57e36fd7467df5e.tar.gz
qmk_firmware-20a10bd0846d502069203419f57e36fd7467df5e.tar.xz
Size fix for Hadron, take 2 (#4009)
* Add Link Time Optimization to reduce firmware size * Disable Mousekeys on Hadron to save room
Diffstat (limited to 'keyboards/hadron')
-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 @@
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
+MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = no # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_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 \
ssd1306.c
DEFAULT_FOLDER = hadron/ver2
+
+EXTRAFLAGS += -flto