qmk_firmware/users/issmirnov/rules.mk
Drashna Jaelre 92385b3fb6 Better handle LTO_ENABLE (#9832)
* 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
2020-08-29 14:30:02 -07:00

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