2
0

rules.mk 761 B

1234567891011121314151617181920212223242526272829
  1. # MCU name
  2. MCU = atmega32u4
  3. F_CPU = 16000000
  4. ARCH = AVR8
  5. F_USB = $(F_CPU)
  6. BOOTLOADER = atmel-dfu
  7. # Interrupt driven control endpoint task
  8. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  9. # Build Options
  10. # comment out to disable the options.
  11. #
  12. # BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
  13. # MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  14. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  15. # CONSOLE_ENABLE = yes # Console for debug(+400)
  16. # COMMAND_ENABLE = yes # Commands for debug and configuration
  17. # SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  18. # NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA
  19. # BACKLIGHT_ENABLE = yes
  20. USB_HID_ENABLE = yes
  21. CUSTOM_MATRIX = yes
  22. SRC = custom_matrix.cpp