rules.mk 814 B

1234567891011121314151617181920212223242526272829
  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 = halfkay
  12. # Build Options
  13. # comment out to disable the options.
  14. #
  15. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
  16. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  17. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  18. CONSOLE_ENABLE = yes # Console for debug(+400)
  19. COMMAND_ENABLE = yes # Commands for debug and configuration
  20. NKRO_ENABLE = yes # USB Nkey Rollover
  21. XT_ENABLE = yes
  22. CUSTOM_MATRIX = yes
  23. SRC = matrix.c led.c
  24. # Optimize size but this may cause error "relocation truncated to fit"
  25. #EXTRALDFLAGS = -Wl,--relax