mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-24 10:29:54 +00:00
41 lines
1.5 KiB
Makefile
41 lines
1.5 KiB
Makefile
# QMK Standard 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
|
|
#
|
|
# See TOP/keyboards/helix/rules.mk for a list of options that can be set.
|
|
# See TOP/docs/config_options.md for more information.
|
|
#
|
|
SPLIT_KEYBOARD = yes
|
|
LTO_ENABLE = no # if firmware size over limit, try this option
|
|
TAP_DANCE_ENABLE = yes
|
|
|
|
# Helix Spacific Build Options
|
|
# you can uncomment and edit follows 7 Variables
|
|
# jp: 以下の7つの変数を必要に応じて編集し、コメントアウトをはずします。
|
|
# HELIX_ROWS = 5 # Helix Rows is 4 or 5
|
|
# OLED_ENABLE = no # OLED_ENABLE
|
|
# LOCAL_GLCDFONT = no # use each keymaps "helixfont.h" instead of "common/glcdfont.c"
|
|
# LED_BACK_ENABLE = no # LED backlight (Enable WS2812 RGB underlight.)
|
|
# LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
|
|
# LED_ANIMATIONS = yes # LED animations
|
|
# IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
|
|
OLED_SELECT = core
|
|
|
|
# convert Helix-specific options (that represent combinations of standard options)
|
|
# into QMK standard options.
|
|
include $(strip $(KEYBOARD_LOCAL_FEATURES_MK))
|
|
|
|
ifeq ($(strip $(HELIX_ROWS)), 4)
|
|
SRC += keymap_4rows.c
|
|
else ifeq ($(strip $(HELIX_ROWS)), 5)
|
|
SRC += keymap_5rows.c
|
|
endif
|
|
|
|
ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
|
|
OPT_DEFS += -DRGBLED_BACK
|
|
endif
|
|
|
|
ifeq ($(strip $(OLED_ENABLE)), yes)
|
|
SRC += oled.c
|
|
endif
|