Reduce compile size to fix various Travis CI errors (#6426)
Due to feature creep
This commit is contained in:
		
							parent
							
								
									b5ee6c200c
								
							
						
					
					
						commit
						a20e6aa022
					
				
					 4 changed files with 16 additions and 10 deletions
				
			
		| 
						 | 
					@ -19,3 +19,5 @@ MIDI_ENABLE = no           # MIDI controls
 | 
				
			||||||
UNICODE_ENABLE = no        # Unicode
 | 
					UNICODE_ENABLE = no        # Unicode
 | 
				
			||||||
BLUETOOTH_ENABLE = no      # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
					BLUETOOTH_ENABLE = no      # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
				
			||||||
AUDIO_ENABLE = yes         # Audio output on port C6
 | 
					AUDIO_ENABLE = yes         # Audio output on port C6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,7 @@ F_USB = $(F_CPU)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Bootloader
 | 
					# Bootloader
 | 
				
			||||||
#     This definition is optional, and if your keyboard supports multiple bootloaders of
 | 
					#     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.
 | 
					#     automatically (+60). See bootloader.mk for all options.
 | 
				
			||||||
BOOTLOADER = atmel-dfu
 | 
					BOOTLOADER = atmel-dfu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,13 +43,13 @@ BOOTLOADER = atmel-dfu
 | 
				
			||||||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 | 
					OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Build Options
 | 
					# 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
 | 
					#   the appropriate keymap folder that will get included automatically
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
BOOTMAGIC_ENABLE = lite     # Virtual DIP switch configuration(+1000)
 | 
					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)
 | 
					EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
 | 
				
			||||||
CONSOLE_ENABLE = yes         # Console for debug(+400)
 | 
					CONSOLE_ENABLE = no         # Console for debug(+400)
 | 
				
			||||||
COMMAND_ENABLE = no        # Commands for debug and configuration
 | 
					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
 | 
					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
 | 
					BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
 | 
				
			||||||
| 
						 | 
					@ -64,3 +64,5 @@ API_SYSEX_ENABLE = no
 | 
				
			||||||
SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
 | 
					SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LAYOUTS = ortho_5x12
 | 
					LAYOUTS = ortho_5x12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,7 @@ F_USB = $(F_CPU)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Bootloader
 | 
					# Bootloader
 | 
				
			||||||
#     This definition is optional, and if your keyboard supports multiple bootloaders of
 | 
					#     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.
 | 
					#     automatically (+60). See bootloader.mk for all options.
 | 
				
			||||||
BOOTLOADER = qmk-dfu
 | 
					BOOTLOADER = qmk-dfu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -43,18 +43,18 @@ BOOTLOADER = qmk-dfu
 | 
				
			||||||
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 | 
					OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Build Options
 | 
					# 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
 | 
					#   the appropriate keymap folder that will get included automatically
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
BOOTMAGIC_ENABLE = lite     # Virtual DIP switch configuration(+1000)
 | 
					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)
 | 
					EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
 | 
				
			||||||
CONSOLE_ENABLE = yes         # Console for debug(+400)
 | 
					CONSOLE_ENABLE = yes        # Console for debug(+400)
 | 
				
			||||||
COMMAND_ENABLE = no        # Commands for debug and configuration
 | 
					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
 | 
					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
 | 
					BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
 | 
				
			||||||
MIDI_ENABLE = no            # MIDI controls
 | 
					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
 | 
					UNICODE_ENABLE = no         # Unicode
 | 
				
			||||||
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
					BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
				
			||||||
RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 | 
					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
 | 
					SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LAYOUTS = ortho_5x12
 | 
					LAYOUTS = ortho_5x12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -63,7 +63,7 @@ UNICODE_ENABLE = no         # Unicode
 | 
				
			||||||
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
					BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
				
			||||||
RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 | 
					RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 | 
				
			||||||
SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 | 
					SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
 | 
				
			||||||
 | 
					SPACE_CADET_ENABLE = no
 | 
				
			||||||
# Saves about 5% of space:
 | 
					# Saves about 5% of space:
 | 
				
			||||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
					LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue