Skip to content

Commit

Permalink
Size fix for Hadron, take 2 (qmk#4009)
Browse files Browse the repository at this point in the history
* Add Link Time Optimization to reduce firmware size

* Disable Mousekeys on Hadron to save room
  • Loading branch information
drashna authored and jackhumbert committed Sep 29, 2018
1 parent 3d767e4 commit 20a10bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/hadron/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions keyboards/hadron/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ SRC = i2c.c \
ssd1306.c

DEFAULT_FOLDER = hadron/ver2

EXTRAFLAGS += -flto

0 comments on commit 20a10bd

Please sign in to comment.