rules.mk 707 B

1234567891011121314151617181920212223242526
  1. #----------------------------------------------------------------------------
  2. # make ergotaco:default:dfu
  3. # Make sure you have dfu-programmer installed!
  4. # Do not edit this file! Make a copy of keymaps/default and modify that!
  5. #----------------------------------------------------------------------------
  6. # Hardware info
  7. MCU = atmega32u4
  8. F_CPU = 16000000
  9. ARCH = AVR8
  10. BOOTLOADER = atmel-dfu
  11. F_USB = $(F_CPU)
  12. CUSTOM_MATRIX = yes
  13. EXTRAKEY_ENABLE = yes
  14. CONSOLE_ENABLE = yes
  15. COMMAND_ENABLE = yes
  16. # A bunch of stuff that you shouldn't touch unless you
  17. # know what you're doing.
  18. #
  19. # No touchy, capiche?
  20. SRC += matrix.c i2c_master.c
  21. ifeq ($(strip $(DEBUG_MATRIX)), yes)
  22. OPT_DEFS += -DDEBUG_MATRIX
  23. endif