]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/traveller/rules.mk
[Keyboard] Fix calls in handwired/jotanck (#7515)
[qmk_firmware.git] / keyboards / handwired / traveller / 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 ifdef TEENSY2
13     BOOTLOADER = halfkay
14     OPT_DEFS += -DATREUS_TEENSY2
15     ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
16 else
17     BOOTLOADER = caterina
18     OPT_DEFS += -DATREUS_ASTAR
19     ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
20                             avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
21 endif
22
23 # Build Options
24 #   change yes to no to disable
25 #
26 BOOTMAGIC_ENABLE = no      # Virtual DIP switch configuration(+1000)
27 MOUSEKEY_ENABLE = yes       # Mouse keys(+4700)
28 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
29 CONSOLE_ENABLE = no        # Console for debug(+400)
30 COMMAND_ENABLE = no        # Commands for debug and configuration
31 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
32 SLEEP_LED_ENABLE = no       # Breathing sleep LED during USB suspend
33 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
34 NKRO_ENABLE = no            # USB Nkey Rollover
35 BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality on B7 by default
36 MIDI_ENABLE = no            # MIDI controls
37 UNICODE_ENABLE = no         # Unicode
38 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
39 AUDIO_ENABLE = no           # Audio output on port C6
40 RGBLIGHT_ENABLE = yes
41
42 # for avr upload
43 USB = /dev/cu.usbmodem1421