]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/iris/rules.mk
[Keyboard] Fix detection of Iris rev number used to set bootloader (#6226)
[qmk_firmware.git] / keyboards / keebio / iris / rules.mk
1 MCU = atmega32u4
2 F_CPU = 16000000
3 ARCH = AVR8
4 F_USB = $(F_CPU)
5
6 # Bootloader
7 #     This definition is optional, and if your keyboard supports multiple bootloaders of
8 #     different sizes, comment this out, and the correct address will be loaded
9 #     automatically (+60). See bootloader.mk for all options.
10 ifneq (, $(findstring rev3, $(KEYBOARD)))
11     BOOTLOADER = qmk-dfu
12 else
13     BOOTLOADER = caterina
14 endif
15
16 # Interrupt driven control endpoint task(+60)
17 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
18
19 # Build Options
20 #   change to "no" to disable the options, or define them in the Makefile in
21 #   the appropriate keymap folder that will get included automatically
22 #
23
24 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
25 MOUSEKEY_ENABLE = no        # Mouse keys(+4700)
26 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
27 CONSOLE_ENABLE = no         # Console for debug(+400)
28 COMMAND_ENABLE = yes        # Commands for debug and configuration
29 NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
30 BACKLIGHT_ENABLE = yes      # Enable keyboard backlight functionality
31 MIDI_ENABLE = no            # MIDI controls
32 AUDIO_ENABLE = no           # Audio output on port C6
33 UNICODE_ENABLE = no         # Unicode
34 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
35 RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
36 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
37 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
38
39 SPLIT_KEYBOARD = yes
40
41 DEFAULT_FOLDER = keebio/iris/rev2