f77: Add jackhill's layout
[jackhill/qmk/firmware.git] / keyboards / redox_w / rules.mk
CommitLineData
387bd555 1# MCU name
387bd555
MDB
2MCU = atmega32u4
3
6d7c6d4f 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
387bd555
MDB
12BOOTLOADER = caterina
13
387bd555
MDB
14# Build Options
15# comment out to disable the options.
16#
d2e1cc4d 17#BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = yes # Console for debug
387bd555
MDB
21COMMAND_ENABLE = yes # Commands for debug and configuration
22CUSTOM_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
25NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
26# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
27# MIDI_ENABLE = YES # MIDI controls
28UNICODE_ENABLE = YES # Unicode
29# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
30
31USB = /dev/ttyACM0
32
6d7c6d4f 33OPT_DEFS += -DREDOX_W_PROMICRO
34INTERPHASE_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
38SRC = matrix.c
39
387bd555
MDB
40# upload: build
41# $(REDOX_W_UPLOAD_COMMAND)