rules.mk 1.0 KB

12345678910111213141516171819202122232425262728
  1. # MCU name
  2. MCU = atmega32u4
  3. # Bootloader selection
  4. BOOTLOADER = atmel-dfu
  5. # change yes to no to disable
  6. #
  7. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  8. MOUSEKEY_ENABLE = yes # Mouse keys
  9. EXTRAKEY_ENABLE = yes # Audio control and System control
  10. CONSOLE_ENABLE = no # Console for debug
  11. COMMAND_ENABLE = no # Commands for debug and configuration
  12. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  13. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  14. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  15. NKRO_ENABLE = no # USB Nkey Rollover
  16. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  17. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  18. BLUETOOTH_ENABLE = no # Enable Bluetooth
  19. AUDIO_ENABLE = no # Audio output
  20. UNICODE_ENABLE = yes
  21. CUSTOM_MATRIX = lite
  22. NO_USB_STARTUP_CHECK = yes
  23. LTO_ENABLE = yes
  24. SRC += matrix.c
  25. QUANTUM_LIB_SRC += i2c_master.c