2020-03-10 12:40:27 +06:00
#This enables Link Time Optimization.This can save a good chunk of space(several KB for me), but the macro and function... functions cause it to error out.
2020-08-22 14:21:06 +06:00
LTO_ENABLE = yes
2019-10-02 22:39:43 +06:00
2020-03-10 12:40:27 +06:00
#Build Options
#change to "no" to disable the options, or define them in the Makefile in
#the appropriate keymap folder that will get included automatically
2019-10-02 22:39:43 +06:00
#
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
2023-08-15 00:21:34 +06:00
DYNAMIC_MACRO_ENABLE = no
2019-10-02 22:39:43 +06:00
2020-03-10 12:40:27 +06:00
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
2023-08-15 00:21:34 +06:00
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
2019-10-02 22:39:43 +06:00
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
SWAP_HANDS_ENABLE = no # Enable one-hand typing
2023-08-15 00:21:34 +06:00
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
MUSIC_ENABLE = no
2019-10-02 22:39:43 +06:00
2020-11-29 02:02:18 +06:00
RGB_MATRIX_ENABLE = yes
2019-10-02 22:39:43 +06:00
2020-03-10 12:40:27 +06:00
#Do not enable SLEEP_LED_ENABLE.it uses the same timer as BACKLIGHT_ENABLE
2019-10-02 22:39:43 +06:00
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
BOOTLOADER = qmk-dfu
2021-08-24 12:28:26 +06:00
OLED_ENABLE = yes
2019-10-02 22:39:43 +06:00
2023-08-15 00:21:34 +06:00
DEBOUNCE_TYPE = sym_eager_pk
2020-03-10 12:40:27 +06:00
i f e q ( $( strip $ ( THEME ) ) , g o d s p e e d )
OPT_DEFS += -DTHEME_GODSPEED
e n d i f
2023-08-15 00:21:34 +06:00
i f e q ( $( strip $ ( THEME ) ) , g o d s p e e d _ a r e s )
OPT_DEFS += -DTHEME_GODSPEED_ARES
e n d i f
2020-03-10 12:40:27 +06:00
i f e q ( $( strip $ ( THEME ) ) , p u l s e )
OPT_DEFS += -DTHEME_PULSE
e n d i f
i f e q ( $( strip $ ( THEME ) ) , l a s e r )
OPT_DEFS += -DTHEME_LASER
e n d i f
2023-08-15 00:21:34 +06:00
i f e q ( $( strip $ ( THEME ) ) , m i l k s h a k e )
OPT_DEFS += -DTHEME_MILKSHAKE
e n d i f
i f e q ( $( strip $ ( RGB_MATRIX_ENABLE ) ) , y e s )
SRC += rgb.c
e n d i f
i f e q ( $( strip $ ( OLED_ENABLE ) ) , y e s )
SRC += oled.c
e n d i f