]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/zen/rules.mk
[Keyboard] Zen keyboard update for Rev2 (#5522)
[qmk_firmware.git] / keyboards / zen / rules.mk
1 # Pro Micro or Elite-C
2 # Automagically converted to Proton-C
3 MCU = atmega32u4
4 F_CPU = 16000000
5 ARCH = AVR8
6 F_USB = $(F_CPU)
7 BOOTLOADER = dfu
8 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
9
10 ifeq ($(strip $(CTPC)), yes)
11   CONVERT_TO_PROTON_C=yes
12 endif
13
14 ifeq ($(strip $(CONVERT_TO_PROTON_C)), yes)
15   SPLIT_KEYBOARD = no       # currently unsupported on ARM
16   RGBLIGHT_ENABLE = no      # currently unsupported on ARM
17
18   EXTRAFLAGS += -DUSE_PROTON_C
19 else
20   # Currently moved to Pro Micro only section because of lack of Proton-C support
21   SPLIT_KEYBOARD = yes
22   RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
23 endif
24
25 # Build Options
26 #   change to "no" to disable the options, or define them in the Makefile in
27 #   the appropriate keymap folder that will get included automatically
28 #
29 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
30 MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
31 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
32 CONSOLE_ENABLE = no         # Console for debug(+400)
33 COMMAND_ENABLE = yes        # Commands for debug and configuration
34 NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
35 MIDI_ENABLE = no            # MIDI controls
36 AUDIO_ENABLE = no           # Audio output on port C6
37 UNICODE_ENABLE = no         # Unicode
38 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
39
40 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
41
42 DEFAULT_FOLDER = zen/rev2