summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/rev2
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-08-22 01:59:37 -0700
committerGitHub <noreply@github.com>2019-08-22 01:59:37 -0700
commita20e6aa0224ff243e6dc80259c9de868c4acc9ce (patch)
tree4800c2147ed5c6678d8460cea71ce23783140fd2 /keyboards/preonic/rev2
parentb5ee6c200c96df0b0e4557defdf3a61f70f5d260 (diff)
Reduce compile size to fix various Travis CI errors (#6426)
Due to feature creep
Diffstat (limited to 'keyboards/preonic/rev2')
-rw-r--r--keyboards/preonic/rev2/rules.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/preonic/rev2/rules.mk b/keyboards/preonic/rev2/rules.mk
index 53411647dd..47a292e336 100644
--- a/keyboards/preonic/rev2/rules.mk
+++ b/keyboards/preonic/rev2/rules.mk
@@ -35,7 +35,7 @@ F_USB = $(F_CPU)
# Bootloader
# This definition is optional, and if your keyboard supports multiple bootloaders of
-# different sizes, comment this out, and the correct address will be loaded
+# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = qmk-dfu
@@ -43,18 +43,18 @@ BOOTLOADER = qmk-dfu
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Build Options
-# change to "no" to disable the options, or define them in the Makefile in
+# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
-MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
-CONSOLE_ENABLE = yes # Console for debug(+400)
-COMMAND_ENABLE = no # Commands for debug and configuration
+CONSOLE_ENABLE = yes # Console for debug(+400)
+COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
-AUDIO_ENABLE = yes # Audio output on port C6
+AUDIO_ENABLE = yes # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
@@ -64,3 +64,5 @@ API_SYSEX_ENABLE = no
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
LAYOUTS = ortho_5x12
+
+LINK_TIME_OPTIMIZATION_ENABLE = yes