mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 11:08:52 +06:00
2e7cd98c06
* Cleanup rules.mk for 32U4 keyboards, G * Update keyboards/gray_studio/cod67/rules.mk
31 lines
839 B
Makefile
31 lines
839 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
|
|
|
|
# Build Options
|
|
# comment out to disable the options.
|
|
#
|
|
# BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
|
|
MOUSEKEY_ENABLE ?= yes # Mouse keys(+4700)
|
|
EXTRAKEY_ENABLE ?= yes # Audio control and System control(+450)
|
|
CONSOLE_ENABLE ?= yes # Console for debug(+400)
|
|
COMMAND_ENABLE ?= yes # Commands for debug and configuration
|
|
NKRO_ENABLE ?= yes # USB Nkey Rollover - not yet supported in LUFA
|
|
|
|
# Optimize size but this may cause error "relocation truncated to fit"
|
|
#EXTRALDFLAGS = -Wl,--relax
|
|
|
|
CUSTOM_MATRIX = yes
|
|
SRC += matrix.c \
|
|
actuation_point.c \
|
|
i2c.c
|