]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Size fix for Hadron, take 2 (#4009)
authorDrashna Jaelre <drashna@live.com>
Sat, 29 Sep 2018 02:23:13 +0000 (19:23 -0700)
committerJack Humbert <jack.humb@gmail.com>
Sat, 29 Sep 2018 02:23:13 +0000 (22:23 -0400)
* Add Link Time Optimization to reduce firmware size

* Disable Mousekeys on Hadron to save room

keyboards/hadron/keymaps/default/rules.mk
keyboards/hadron/rules.mk

index 4d08544f3ad4addfb812f62717a9dc7ce142a028..545ffa75c17733162fb749150f5cd5f81b46043a 100644 (file)
@@ -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
index 1f835e066036071bded30fcfff9b46ab74688fca..2a8b780450f806c15250dfbbf5138bbc74c37a30 100644 (file)
@@ -71,3 +71,5 @@ SRC = i2c.c \
          ssd1306.c
 
 DEFAULT_FOLDER = hadron/ver2
+
+EXTRAFLAGS += -flto