rules.mk 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. # Build Options
  15. # change yes to no to disable
  16. #
  17. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  18. MOUSEKEY_ENABLE = yes # Mouse keys
  19. EXTRAKEY_ENABLE = yes # Audio control and System control
  20. CONSOLE_ENABLE = yes # Console for debug
  21. COMMAND_ENABLE = yes # Commands for debug and configuration
  22. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  23. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  24. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  25. NKRO_ENABLE = no # USB Nkey Rollover
  26. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  27. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  28. MIDI_ENABLE = no # MIDI support
  29. UNICODE_ENABLE = no # Unicode
  30. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  31. AUDIO_ENABLE = no # Audio output on port C6
  32. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  33. HD44780_ENABLE = no # Enable support for HD44780 based LCDs
  34. EXTRAFLAGS += -flto
  35. LAYOUTS = numpad_5x4