rules.mk 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # MCU name
  2. MCU = atmega32u4
  3. # Processor frequency
  4. F_CPU = 8000000
  5. # Bootloader selection
  6. # Teensy halfkay
  7. # Pro Micro caterina
  8. # Atmel DFU atmel-dfu
  9. # LUFA DFU lufa-dfu
  10. # QMK DFU qmk-dfu
  11. # ATmega32A bootloadHID
  12. # ATmega328P USBasp
  13. BOOTLOADER = caterina
  14. # Build Options
  15. # change to "no" to disable the options, or define them in the Makefile in
  16. # the appropriate keymap folder that will get included automatically
  17. #
  18. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  19. MOUSEKEY_ENABLE = no # Mouse keys(+4700)
  20. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  21. CONSOLE_ENABLE = no # Console for debug(+400)
  22. COMMAND_ENABLE = no # Commands for debug and configuration
  23. NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  24. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  25. AUDIO_ENABLE = no # Audio output on port C6
  26. UNICODE_ENABLE = no # Unicode
  27. UNICODEMAP_ENABLE = yes
  28. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  29. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
  30. PS2_MOUSE_ENABLE = yes
  31. PS2_USE_INT = yes
  32. CUSTOM_MATRIX = yes
  33. BLUETOOTH = AdafruitBLE
  34. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  35. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  36. SRC += ws2812.c
  37. SRC += rgbsps.c
  38. SRC += analog.c
  39. SRC += matrix.c
  40. LTO_ENABLE = yes