rules.mk 1.1 KB

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