rules.mk 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # MCU name
  2. MCU = atmega32u4
  3. # Processor frequency
  4. F_CPU = 8000000
  5. # Build Options
  6. # change yes to no to disable
  7. #
  8. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  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. UNICODE_ENABLE = no # Unicode
  19. BLUETOOTH_ENABLE = no # Enable Bluetooth
  20. AUDIO_ENABLE = no # Audio output
  21. POINTING_DEVICE_ENABLE = yes
  22. MOUSEKEY_ENABLE = yes # Mouse keys
  23. QUANTUM_LIB_SRC += analog.c spi_master.c
  24. SRC += pmw3360.c opt_encoder.c
  25. DEFAULT_FOLDER = ploopyco/trackball/rev1_005