rules.mk 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # MCU name
  2. MCU = atmega32a
  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 = bootloadHID
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
  16. MOUSEKEY_ENABLE = no # Mouse keys
  17. EXTRAKEY_ENABLE = yes # Audio control and System control
  18. CONSOLE_ENABLE = no # Console for debug
  19. COMMAND_ENABLE = yes # Commands for debug and configuration
  20. # NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  21. #BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  22. AUDIO_ENABLE = no # There is no speaker on this PCB
  23. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  24. CUSTOM_MATRIX = yes
  25. # Needed for underglow
  26. WS2812_DRIVER = i2c
  27. SRC += matrix.c
  28. QUANTUM_LIB_SRC += i2c_master.c