mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 12:48:52 +06:00
c8577a9a73
- flags for the linker - added INSERT key as I kinda use it for work fairly often - turned on more things in rules.mk since I recovered space via linker flags and whatnot
33 lines
1.5 KiB
Makefile
33 lines
1.5 KiB
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
|
|
#
|
|
EXTRAFLAGS += -flto
|
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
|
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
|
CONSOLE_ENABLE = no # Console for debug(+400)
|
|
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 = yes # Enable keyboard backlight functionality
|
|
MIDI_ENABLE = no # MIDI controls
|
|
AUDIO_ENABLE = no # Audio output on port C6
|
|
UNICODE_ENABLE = no # Unicode
|
|
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
|
SWAP_HANDS_ENABLE = no # Enable one-hand typing
|
|
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|
|
|
# If you want to change the display of OLED, you need to change here
|
|
SRC += ./lib/glcdfont.c \
|
|
./lib/rgb_state_reader.c \
|
|
./lib/layer_state_reader.c \
|
|
./lib/logo_reader.c \
|
|
./lib/keylogger.c \
|
|
# ./lib/mode_icon_reader.c \
|
|
# ./lib/host_led_state_reader.c \
|
|
# ./lib/timelogger.c \
|