2018-10-02 03:00:14 +02:00
|
|
|
# Build Options
|
2021-12-30 05:17:34 +01:00
|
|
|
# change to "no" to disable the options
|
2018-10-02 03:00:14 +02:00
|
|
|
#
|
2021-12-30 05:17:34 +01:00
|
|
|
|
|
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
2021-05-25 18:24:01 +02:00
|
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
|
|
CONSOLE_ENABLE = no # Console for debug
|
2019-04-22 20:55:55 +02: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 18:24:01 +02:00
|
|
|
AUDIO_ENABLE = no # Audio output
|
2019-04-22 20:55:55 +02:00
|
|
|
UNICODE_ENABLE = no # Unicode
|
2019-05-07 07:34:09 +02:00
|
|
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
2019-04-22 20:55:55 +02:00
|
|
|
SWAP_HANDS_ENABLE = no # Enable one-hand typing
|
2018-10-02 03:00:14 +02:00
|
|
|
|
2022-05-31 07:02:55 +02:00
|
|
|
USE_ARM_CONFIG ?= no
|
|
|
|
ifeq ($(strip $(CONVERT_TO)), proton_c)
|
|
|
|
USE_ARM_CONFIG = yes
|
2020-10-17 20:46:57 +02:00
|
|
|
endif
|
2021-01-22 17:23:03 +01:00
|
|
|
ifeq ($(strip $(CTPC)), yes)
|
2022-05-31 07:02:55 +02: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 05:17:34 +01: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 08:41:59 +01:00
|
|
|
else
|
2021-12-30 05:17:34 +01:00
|
|
|
CUSTOM_UNICODE_ENABLE = no
|
|
|
|
BOOTLOADER = qmk-hid
|
|
|
|
BOOTLOADER_SIZE = 512
|
2021-01-22 17:23:03 +01:00
|
|
|
endif
|
2022-05-31 07:02:55 +02: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
|