]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/mitosis/rules.mk
Allow overriding of all functions in wonderland.c (#7198)
[qmk_firmware.git] / keyboards / mitosis / rules.mk
1 # MCU name
2 MCU = atmega32u4
3
4 # Bootloader selection
5 #   Teensy       halfkay
6 #   Pro Micro    caterina
7 #   Atmel DFU    atmel-dfu
8 #   LUFA DFU     lufa-dfu
9 #   QMK DFU      qmk-dfu
10 #   ATmega32A    bootloadHID
11 #   ATmega328P   USBasp
12 BOOTLOADER = caterina
13
14 # Build Options
15 #   comment out to disable the options.
16 #
17 #BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
18 MOUSEKEY_ENABLE = yes   # Mouse keys(+4700)
19 EXTRAKEY_ENABLE = yes   # Audio control and System control(+450)
20 CONSOLE_ENABLE = yes    # Console for debug(+400)
21 COMMAND_ENABLE = yes   # Commands for debug and configuration
22 CUSTOM_MATRIX = yes    # Remote matrix from the wireless bridge
23 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
24 # SLEEP_LED_ENABLE = yes  # Breathing sleep LED during USB suspend
25 NKRO_ENABLE = yes               # USB Nkey Rollover - not yet supported in LUFA
26 # BACKLIGHT_ENABLE = yes  # Enable keyboard backlight functionality
27 # MIDI_ENABLE = yes             # MIDI controls
28 UNICODE_ENABLE = yes            # Unicode
29 # BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
30
31 USB = /dev/ttyACM0
32
33 # upload: build
34 #       $(MITOSIS_UPLOAD_COMMAND)
35
36 OPT_DEFS += -DMITOSIS_PROMICRO
37 MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
38                          avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
39
40 # # project specific files
41 SRC = matrix.c