mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
26203401a1
* Keyboard: add treeadstone48 * rename layout defines * Use of pragma once * move common include code * fixed info.json * change keymap layout from kc to normal * fix alpha revision keymap * fixed info.json * remove USE_Link_Time_Optimization * Added Treadstone32 keyboard. * Fixed some code * Fixed some codes * Fixed config.h * modified review point * Fixed redundant include
26 lines
806 B
Makefile
26 lines
806 B
Makefile
|
|
# 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
|
|
#
|
|
TAP_DANCE_ENABLE = no
|
|
|
|
# If your custom treadstone32 pcb, you can rewrite to yes.
|
|
RGBLIGHT_ENABLE = yes # LED underglow (Enable WS2812 RGB underlight.)
|
|
LED_ANIMATIONS = yes # LED animations
|
|
|
|
# Other selectable option
|
|
IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
|
|
|
|
ifeq ($(strip $(LED_ANIMATIONS)), yes)
|
|
# OPT_DEFS += -DRGBLIGHT_ANIMATIONS
|
|
OPT_DEFS += -DLED_ANIMATIONS
|
|
endif
|
|
|
|
ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
|
|
OPT_DEFS += -DIOS_DEVICE_ENABLE
|
|
endif
|
|
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|