You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. # Teensy halfkay
  5. # Pro Micro caterina
  6. # Atmel DFU atmel-dfu
  7. # LUFA DFU lufa-dfu
  8. # QMK DFU qmk-dfu
  9. # ATmega32A bootloadHID
  10. # ATmega328P USBasp
  11. ifdef TEENSY2
  12. BOOTLOADER = halfkay
  13. OPT_DEFS += -DATREUS_TEENSY2
  14. ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
  15. else
  16. BOOTLOADER = caterina
  17. OPT_DEFS += -DATREUS_ASTAR
  18. ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
  19. avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
  20. endif
  21. # Build Options
  22. # change yes to no to disable
  23. #
  24. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  25. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  26. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  27. CONSOLE_ENABLE = no # Console for debug(+400)
  28. COMMAND_ENABLE = no # Commands for debug and configuration
  29. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  30. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  31. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  32. NKRO_ENABLE = no # USB Nkey Rollover
  33. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  34. MIDI_ENABLE = no # MIDI controls
  35. UNICODE_ENABLE = no # Unicode
  36. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  37. AUDIO_ENABLE = no # Audio output on port C6
  38. RGBLIGHT_ENABLE = yes
  39. # for avr upload
  40. USB = /dev/cu.usbmodem1421