rules.mk 1.2 KB

12345678910111213141516171819202122232425262728293031
  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 = atmel-dfu
  12. # Build Options
  13. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  14. MOUSEKEY_ENABLE = yes # Mouse keys
  15. EXTRAKEY_ENABLE = yes # Audio control and System control
  16. CONSOLE_ENABLE = no # Console for debug
  17. COMMAND_ENABLE = no # Commands for debug and configuration
  18. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  19. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  20. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  21. NKRO_ENABLE = yes # USB Nkey Rollover
  22. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  23. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  24. MIDI_ENABLE = yes # MIDI support
  25. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  26. AUDIO_ENABLE = no # Audio output on port C6
  27. LTO_ENABLE = yes
  28. SRC += analog.c