ソースを参照

[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
TerryMathews 6 年 前
コミット
29c7fa6efc
1 ファイル変更4 行追加3 行削除
  1. 4 3
      keyboards/candybar/rules.mk

+ 4 - 3
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