rules.mk 839 B

123456789101112131415161718192021222324252627282930
  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. # comment out to disable the options.
  14. #
  15. # BOOTMAGIC_ENABLE = yes # 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 - not yet supported in LUFA
  21. # Optimize size but this may cause error "relocation truncated to fit"
  22. #EXTRALDFLAGS = -Wl,--relax
  23. CUSTOM_MATRIX = yes
  24. SRC += matrix.c \
  25. actuation_point.c \
  26. i2c.c