mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
e8b65d0170
* Cleanup rules.mk for 32U4 keyboards, A-F * Put back stuff in VIA keymaps
24 lines
654 B
Makefile
24 lines
654 B
Makefile
# MCU name
|
|
MCU = atmega32u4
|
|
|
|
# Bootloader selection
|
|
# Teensy halfkay
|
|
# Pro Micro caterina
|
|
# Atmel DFU atmel-dfu
|
|
# LUFA DFU lufa-dfu
|
|
# QMK DFU qmk-dfu
|
|
# ATmega32A bootloadHID
|
|
# ATmega328P USBasp
|
|
BOOTLOADER = atmel-dfu
|
|
|
|
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
|
CONSOLE_ENABLE = yes # Console for debug(+400)
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
STENO_ENABLE = yes # Needed for chording
|
|
|
|
OPT_DEFS += -DONLYQWERTY -DDEBUG_MATRIX
|
|
SRC += sten.c
|
|
EXTRAFLAGS += -flto
|