23 lines
		
	
	
	
		
			595 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			595 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# MCU name
 | 
						|
MCU = atmega32u4
 | 
						|
 | 
						|
# Bootloader selection
 | 
						|
BOOTLOADER = atmel-dfu
 | 
						|
 | 
						|
# Build Options
 | 
						|
#   change yes to no to disable
 | 
						|
#
 | 
						|
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
						|
MOUSEKEY_ENABLE = yes	# Mouse keys
 | 
						|
EXTRAKEY_ENABLE = yes	# Audio control and System control
 | 
						|
CONSOLE_ENABLE = yes	# Console for debug
 | 
						|
COMMAND_ENABLE = yes    # Commands for debug and configuration
 | 
						|
NKRO_ENABLE = yes           # Enable N-Key Rollover
 | 
						|
 | 
						|
# 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
 |