2018-10-02 01:00:14 +00:00
|
|
|
# Build Options
|
2021-12-30 04:17:34 +00:00
|
|
|
# change to "no" to disable the options
|
2018-10-02 01:00:14 +00:00
|
|
|
#
|
2021-12-30 04:17:34 +00:00
|
|
|
|
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2021-05-25 16:24:01 +00:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2019-04-22 18:55:55 +00:00
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
|
|
NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
2021-05-25 16:24:01 +00:00
|
|
|
AUDIO_ENABLE = no # Audio output
|
2019-04-22 18:55:55 +00:00
|
|
|
UNICODE_ENABLE = no # Unicode
|
2019-05-07 05:34:09 +00:00
|
|
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
2019-04-22 18:55:55 +00:00
|
|
|
SWAP_HANDS_ENABLE = no # Enable one-hand typing
|
2018-10-02 01:00:14 +00:00
|
|
|
|
2022-05-31 05:02:55 +00:00
|
|
|
USE_ARM_CONFIG ?= no
|
|
|
|
ifeq ($(strip $(CONVERT_TO)), proton_c)
|
|
|
|
USE_ARM_CONFIG = yes
|
2020-10-17 18:46:57 +00:00
|
|
|
endif
|
2021-01-22 16:23:03 +00:00
|
|
|
ifeq ($(strip $(CTPC)), yes)
|
2022-05-31 05:02:55 +00:00
|
|
|
USE_ARM_CONFIG = yes
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(MCU)), STM32F303)
|
|
|
|
USE_ARM_CONFIG = yes
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(MCU)), STM32F401)
|
|
|
|
USE_ARM_CONFIG = yes
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(USE_ARM_CONFIG)), yes)
|
2021-12-30 04:17:34 +00:00
|
|
|
HAPTIC_ENABLE = no
|
|
|
|
WS2812_DRIVER = pwm # won't work without a patch to the ctpc mk file
|
|
|
|
SERIAL_DRIVER = usart
|
|
|
|
SWAP_HANDS_ENABLE = yes
|
|
|
|
WPM_ENABLE = yes
|
|
|
|
AUTOCORRECTION_ENABLE = yes
|
|
|
|
CAPS_WORD_ENABLE = yes
|
2021-11-29 07:41:59 +00:00
|
|
|
else
|
2021-12-30 04:17:34 +00:00
|
|
|
CUSTOM_UNICODE_ENABLE = no
|
|
|
|
BOOTLOADER = qmk-hid
|
|
|
|
BOOTLOADER_SIZE = 512
|
2021-01-22 16:23:03 +00:00
|
|
|
endif
|
2022-05-31 05:02:55 +00:00
|
|
|
|
|
|
|
ifeq ($(strip $(KEYBOARD)), crkbd/rev1)
|
|
|
|
OLED_ENABLE = yes
|
|
|
|
RGB_MATRIX_ENABLE = yes
|
|
|
|
HAPTIC_ENABLE = no
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(strip $(KEYBOARD)), cantor)
|
|
|
|
SWAP_HANDS_ENABLE = no
|
|
|
|
endif
|