rules.mk 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. # Teensy halfkay
  5. # Pro Micro caterina
  6. # Atmel DFU atmel-dfu
  7. # LUFA DFU lufa-dfu
  8. # QMK DFU qmk-dfu
  9. # ATmega32A bootloadHID
  10. # ATmega328P USBasp
  11. BOOTLOADER = atmel-dfu
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
  16. MOUSEKEY_ENABLE = no # Mouse keys
  17. EXTRAKEY_ENABLE = yes # Audio control and System control
  18. CONSOLE_ENABLE = no # Console for debug
  19. COMMAND_ENABLE = no # Commands for debug and configuration
  20. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  21. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  22. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  23. NKRO_ENABLE = yes # USB Nkey Rollover
  24. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  25. UNICODE_ENABLE = no # Unicode
  26. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  27. AUDIO_ENABLE = no # Audio output on port C6
  28. RGBLIGHT_ENABLE = no # Use RGB underglow light
  29. RGB_MATRIX_ENABLE = yes
  30. RGB_MATRIX_DRIVER = IS31FL3731 # Use RGB matrix
  31. LAYOUTS = 60_ansi 60_hhkb 60_iso 60_ansi_split_bs_rshift
  32. CUSTOM_MATRIX = yes
  33. SRC += matrix.c