2
0

rules.mk 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. MCU = atmega32u4
  2. F_CPU = 16000000
  3. ARCH = AVR8
  4. F_USB = $(F_CPU)
  5. # Interrupt driven control endpoint task(+60)
  6. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  7. # Bootloader selection
  8. # Teensy halfkay
  9. # Pro Micro caterina
  10. # Atmel DFU atmel-dfu
  11. # LUFA DFU lufa-dfu
  12. # QMK DFU qmk-dfu
  13. # atmega32a bootloadHID
  14. BOOTLOADER = caterina
  15. # If you don't know the bootloader type, then you can specify the
  16. # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
  17. # Teensy halfKay 512
  18. # Teensy++ halfKay 1024
  19. # Atmel DFU loader 4096
  20. # LUFA bootloader 4096
  21. # USBaspLoader 2048
  22. # OPT_DEFS += -DBOOTLOADER_SIZE=4096
  23. # Build Options
  24. # change yes to no to disable
  25. #
  26. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  27. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  28. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  29. CONSOLE_ENABLE = yes # Console for debug(+400)
  30. COMMAND_ENABLE = yes # 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 = yes # Enable keyboard backlight functionality on B7 by default
  36. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  37. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  38. UNICODE_ENABLE = no # Unicode
  39. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  40. AUDIO_ENABLE = no # Audio output on port C6
  41. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  42. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  43. ENCODER_ENABLE = yes