diff options
author | Drashna Jaelre <drashna@live.com> | 2018-09-28 19:23:13 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-09-28 22:23:13 -0400 |
commit | 20a10bd0846d502069203419f57e36fd7467df5e (patch) | |
tree | 9e01adab03d5f68224279c5615dd3fc0b2b44270 /keyboards/hadron | |
parent | 3d767e4aab5a6c87cb334a22ffaa9b6ad8e76393 (diff) |
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.mk | 2 | ||||
-rw-r--r-- | keyboards/hadron/rules.mk | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/hadron/keymaps/default/rules.mk b/keyboards/hadron/keymaps/default/rules.mk index 4d08544f3a..545ffa75c1 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 1f835e0660..2a8b780450 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 |