From 29c7fa6efc48385445673a77ec58e880746e6524 Mon Sep 17 00:00:00 2001 From: TerryMathews Date: Thu, 6 Jun 2019 16:08:27 -0400 Subject: [PATCH] [Keyboard] Candybar: updated rules.mk (#6083) * 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboards/candybar/rules.mk b/keyboards/candybar/rules.mk index 0bc9a5b3e..a0365a20b 100644 --- a/keyboards/candybar/rules.mk +++ b/keyboards/candybar/rules.mk @@ -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