f77: Add jackhill's layout
[jackhill/qmk/firmware.git] / keyboards / redox_w / 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
18 MOUSEKEY_ENABLE = yes # Mouse keys
19 EXTRAKEY_ENABLE = yes # Audio control and System control
20 CONSOLE_ENABLE = yes # Console for debug
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 OPT_DEFS += -DREDOX_W_PROMICRO
34 INTERPHASE_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
35 avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
36
37 # # project specific files
38 SRC = matrix.c
39
40 # upload: build
41 # $(REDOX_W_UPLOAD_COMMAND)