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.

41 lines
1.5 KiB

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