mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 04:37:14 +06:00
92385b3fb6
* Better handle LTO_ENABLE Especially when calling from command line * Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE * Remove long for LTO from show_options.mk
26 lines
854 B
Makefile
26 lines
854 B
Makefile
|
|
SRC += tap_tog.c
|
|
SRC += issmirnov.c
|
|
|
|
# https://www.reddit.com/r/olkb/comments/bmpgjm/programming_help/
|
|
# Should shave 2000 bytes
|
|
LTO_ENABLE = yes
|
|
|
|
# Enable debugging only when needed.
|
|
CONSOLE_ENABLE = yes # +400 bytes (hid_listen support)
|
|
|
|
# Enable combo keys for vim usage.
|
|
# https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
|
|
COMBO_ENABLE = yes
|
|
|
|
# This allows the keyboard to tell the host OS that up to 248 keys are held down at once
|
|
NKRO_ENABLE = no # note: also needs FORCE_NKRO in config.h
|
|
|
|
# Disable unused features to save on space
|
|
# https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/
|
|
MOUSEKEY_ENABLE = no # 2000 bytes
|
|
BOOTMAGIC_ENABLE = no
|
|
COMMAND_ENABLE = no # https://beta.docs.qmk.fm/features/feature_command
|
|
UNICODE_ENABLE = no # Unicode
|
|
SWAP_HANDS_ENABLE = no # Allow swapping hands of keyboard
|