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