27 lines
557 B
Makefile
27 lines
557 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
|
||
|
|
||
|
CUSTOM_MATRIX = yes
|
||
|
EXTRAKEY_ENABLE = yes
|
||
|
CONSOLE_ENABLE = yes
|
||
|
COMMAND_ENABLE = yes
|
||
|
|
||
|
# A bunch of stuff that you shouldn't touch unless you
|
||
|
# know what you're doing.
|
||
|
#
|
||
|
# No touchy, capiche?
|
||
|
SRC += matrix.c i2c_master.c
|
||
|
ifeq ($(strip $(DEBUG_MATRIX)), yes)
|
||
|
OPT_DEFS += -DDEBUG_MATRIX
|
||
|
endif
|