~ruther/qmk_firmware

ca9b85f7021ed1338de5af0fd30c6095522a1197 — skullY 9 years ago 4f99865
Bring the clueboard firmware size down
3 files changed, 16 insertions(+), 14 deletions(-)

M keyboard/clueboard1/Makefile
M keyboard/clueboard2/Makefile
M keyboard/cluepad/Makefile
M keyboard/clueboard1/Makefile => keyboard/clueboard1/Makefile +6 -5
@@ 114,15 114,16 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
#   comment out to disable the options.
#
BOOTMAGIC_ENABLE = yes	# Virtual DIP switch configuration(+1000)
# MOUSEKEY_ENABLE = yes	# 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 = yes    # Commands for debug and configuration
NKRO_ENABLE = yes		# USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
# RGBLIGHT_ENABLE = yes   # Enable keyboard underlight functionality
# MIDI_ENABLE = YES 		# MIDI controls
# UNICODE_ENABLE = YES 		# Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no   # Enable keyboard underlight functionality
MIDI_ENABLE = no 		# MIDI controls
UNICODE_ENABLE = no 		# Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID


# Optimize size but this may cause error "relocation truncated to fit"

M keyboard/clueboard2/Makefile => keyboard/clueboard2/Makefile +7 -6
@@ 114,16 114,17 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
#   comment out to disable the options.
#
BOOTMAGIC_ENABLE = yes	# Virtual DIP switch configuration(+1000)
# MOUSEKEY_ENABLE = yes	# 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 = yes    # Commands for debug and configuration
NKRO_ENABLE = yes		# USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes   # Enable keyboard underlight functionality
BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
# MIDI_ENABLE = YES 		# MIDI controls
# UNICODE_ENABLE = YES 		# Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no   # Enable keyboard underlight functionality (+4870)
BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality (+1150)
MIDI_ENABLE = no 		# MIDI controls
AUDIO_ENABLE = no
UNICODE_ENABLE = no 		# Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID

#ifdef BACKLIGHT_ENABLE
    SRC := backlight.c $(SRC)

M keyboard/cluepad/Makefile => keyboard/cluepad/Makefile +3 -3
@@ 115,9 115,9 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
#
BOOTMAGIC_ENABLE = yes	# Virtual DIP switch configuration(+1000)
# MOUSEKEY_ENABLE = yes	# Mouse keys(+4700)
EXTRAKEY_ENABLE = yes	# Audio control and System control(+450)
CONSOLE_ENABLE = yes	# Console for debug(+400)
COMMAND_ENABLE = yes    # Commands for debug and configuration
# EXTRAKEY_ENABLE = yes	# Audio control and System control(+450)
# CONSOLE_ENABLE = yes	# Console for debug(+400)
# COMMAND_ENABLE = yes    # Commands for debug and configuration
NKRO_ENABLE = yes		# USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = yes  # Enable numpad's backlight functionality
RGBLIGHT_ENABLE = yes