rules.mk 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  16. MOUSEKEY_ENABLE = no # Mouse keys
  17. EXTRAKEY_ENABLE = no # Audio control and System control
  18. CONSOLE_ENABLE = yes # Console for debug
  19. COMMAND_ENABLE = yes # Commands for debug and configuration
  20. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  21. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  22. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  23. NKRO_ENABLE = no # USB Nkey Rollover
  24. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  25. BACKLIGHT_DRIVER = custom
  26. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  27. MIDI_ENABLE = no # MIDI support
  28. UNICODE_ENABLE = no # Unicode
  29. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  30. AUDIO_ENABLE = no # Audio output on port C6
  31. FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
  32. HD44780_ENABLE = no # Enable support for HD44780 based LCDs
  33. CUSTOM_MATRIX = yes
  34. SRC += indicator_leds.c \
  35. matrix.c duck_led/duck_led.c