rules.mk 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 = caterina
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  16. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  17. EXTRAKEY_ENABLE = no # Audio control and System control(+450)
  18. CONSOLE_ENABLE = no # Console for debug(+400)
  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 = no # USB Nkey Rollover
  24. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
  25. MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
  26. UNICODE_ENABLE = no # Unicode
  27. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  28. AUDIO_ENABLE = no # Audio output on port C6
  29. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  30. HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
  31. CUSTOM_MATRIX = yes
  32. SRC += i2c.c \
  33. serial.c \
  34. matrix.c \
  35. split_util.c
  36. USE_I2C = yes
  37. RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.