rules.mk 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. MCU = atmega32u4
  2. F_CPU = 16000000
  3. ARCH = AVR8
  4. F_USB = $(F_CPU)
  5. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  6. # Bootloader selection
  7. # Teensy halfkay
  8. # Pro Micro caterina
  9. # Atmel DFU atmel-dfu
  10. # LUFA DFU lufa-dfu
  11. # QMK DFU qmk-dfu
  12. # atmega32a bootloadHID
  13. BOOTLOADER = atmel-dfu
  14. # If you don't know the bootloader type, then you can specify the
  15. # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
  16. # Teensy halfKay 512
  17. # Teensy++ halfKay 1024
  18. # Atmel DFU loader 4096
  19. # LUFA bootloader 4096
  20. # USBaspLoader 2048
  21. # OPT_DEFS += -DBOOTLOADER_SIZE=4096
  22. # Build Options
  23. # change yes to no to disable
  24. #
  25. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
  26. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  27. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  28. CONSOLE_ENABLE = yes # Console for debug(+400)
  29. COMMAND_ENABLE = yes # Commands for debug and configuration
  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. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  33. NKRO_ENABLE = no # USB Nkey Rollover
  34. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
  35. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  36. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  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. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  41. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)