]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keyboard] Candybar: updated rules.mk (#6083)
authorTerryMathews <terry@terrymathews.net>
Thu, 6 Jun 2019 20:08:27 +0000 (16:08 -0400)
committerDrashna Jaelre <drashna@live.com>
Thu, 6 Jun 2019 20:08:27 +0000 (13:08 -0700)
* Candybar: updated rules.mk

Disabled console and command to get compiled size under flash space limitations.

* Candybar: Enable LINK_TIME_OPTIMIZATION_ENABLE

keyboards/candybar/rules.mk

index 0bc9a5b3e691672dc58cabd9e385e9f6aa351c3f..a0365a20b5f91415d05d49c98d5d40184b155bd6 100644 (file)
@@ -36,14 +36,15 @@ DFU_SUFFIX_ARGS = -p DF11 -v 0483
 # Build Options
 #   comment out to disable the options.
 #
-EXTRAFLAGS+=-flto
+# EXTRAFLAGS+=-flto
+LINK_TIME_OPTIMIZATION_ENABLE = yes
 BACKLIGHT_ENABLE = no
 BOOTMAGIC_ENABLE = yes  # Virtual DIP switch configuration
 ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
 MOUSEKEY_ENABLE = no # Mouse keys
 EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes  # Console for debug
-COMMAND_ENABLE = yes    # Commands for debug and configuration
+CONSOLE_ENABLE = no  # Console for debug
+COMMAND_ENABLE = no    # Commands for debug and configuration
 SLEEP_LED_ENABLE = no  # Breathing sleep LED during USB suspend
 NKRO_ENABLE = yes     # USB Nkey Rollover
 AUDIO_ENABLE = no