format code according to conventions [skip ci]
[jackhill/qmk/firmware.git] / keyboards / 2_milk / rules.mk
CommitLineData
efb7f3cc 1# MCU name
45950bb3
S
2MCU = atmega32u4
3
4# Processor frequency.
5F_CPU = 16000000
6
7#
8# LUFA specific
9#
10# Target architecture (see library "Board Types" documentation).
11ARCH = AVR8
12
13# Input clock frequency.
14F_USB = $(F_CPU)
15
16# Bootloader
17BOOTLOADER = caterina
18
19# Interrupt driven control endpoint task(+60)
20OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
21
22# Build Options
23# comment out to disable the options.
24#
25BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
26MOUSEKEY_ENABLE = no # Mouse keys(+4700)
27EXTRAKEY_ENABLE = no # Audio control and System control(+450)
28CONSOLE_ENABLE = yes # Console for debug(+400)
29COMMAND_ENABLE = yes # Commands for debug and configuration
30SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
31NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
32BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
33AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
34RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port.