rules.mk 525 B

12345678910111213141516171819
  1. # MCU name
  2. MCU = atmega32u4
  3. F_CPU = 16000000
  4. ARCH = AVR8
  5. F_USB = $(F_CPU)
  6. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT -DONLYQWERTY -DDEBUG_MATRIX
  7. SRC += sten.c
  8. EXTRAFLAGS += -flto
  9. BOOTLOADER = atmel-dfu
  10. MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
  11. EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
  12. CONSOLE_ENABLE = yes # Console for debug(+400)
  13. COMMAND_ENABLE = no # Commands for debug and configuration
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. STENO_ENABLE = yes # Needed for chording