]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/converter/sun_usb/rules.mk
6e36a1905084629a51befbe700fc399531f30a2a
[qmk_firmware.git] / keyboards / converter / sun_usb / rules.mk
1 MCU = atmega32u4       # Teensy 2.0
2 F_CPU = 16000000
3 ARCH = AVR8
4 F_USB = $(F_CPU)
5
6 # Interrupt driven control endpoint task
7 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
8
9 BOOTLOADER = lufa-dfu
10
11 # Build Options
12 #   change to "no" to disable the options, or define them in the Makefile in 
13 #   the appropriate keymap folder that will get included automatically
14 #
15 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
16 MOUSEKEY_ENABLE = yes        # Mouse keys(+4700)
17 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
18 CONSOLE_ENABLE = yes         # Console for debug(+400)
19 COMMAND_ENABLE = yes         # Commands for debug and configuration
20 NKRO_ENABLE = yes           # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
22 MIDI_ENABLE = no            # MIDI controls
23 AUDIO_ENABLE = no           # Audio output on port C6
24 UNICODE_ENABLE = no         # Unicode
25 UNICODEMAP_ENABLE = yes
26 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
27 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
28 CUSTOM_MATRIX = yes
29
30 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
31 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
32
33 #HARDWARE_SERIAL = yes
34
35 SRC += matrix.c led.c
36
37 ifdef HARDWARE_SERIAL
38         SRC += protocol/serial_uart.c
39         OPT_DEFS += -DHARDWARE_SERIAL
40 else
41         SRC += protocol/serial_soft.c
42 endif
43
44 DEFAULT_FOLDER = converter/sun_usb/type5