rules.mk 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # MCU name
  2. MCU = atmega32u4
  3. # Processor frequency.
  4. F_CPU = 16000000
  5. #
  6. # LUFA specific
  7. #
  8. # Target architecture (see library "Board Types" documentation).
  9. ARCH = AVR8
  10. # Input clock frequency.
  11. F_USB = $(F_CPU)
  12. # Bootloader
  13. BOOTLOADER = caterina
  14. # Interrupt driven control endpoint task(+60)
  15. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
  16. # Build Options
  17. # comment out to disable the options.
  18. #
  19. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  20. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  21. EXTRAKEY_ENABLE = no # Audio control and System control(+450)
  22. CONSOLE_ENABLE = yes # Console for debug(+400)
  23. COMMAND_ENABLE = yes # Commands for debug and configuration
  24. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  25. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  26. BACKLIGHT_ENABLE = no # Custom backlighting code is used, so this should not be enabled
  27. AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expansion port. Not compatible with RGBLIGHT below
  28. RGBLIGHT_ENABLE = yes # This can be enabled if a ws2812 strip is connected to the expansion port.