rules.mk 449 B

1234567891011121314151617181920
  1. MCU = atmega32u4
  2. OPT_DEFS += -DBOOTLOADER_SIZE=4096
  3. FLASH_SIZE_KB = 32
  4. BOOT_SECTION_SIZE_KB = 4
  5. BOOT_LOADER = BootloaderHID
  6. # Extra source files for IS3731 lighting
  7. SRC = TWIlib.c issi.c lighting.c
  8. # Processor frequency.
  9. F_CPU = 16000000
  10. # Target architecture (see library "Board Types" documentation).
  11. ARCH = AVR8
  12. # Input clock frequency.
  13. F_USB = $(F_CPU)
  14. # Interrupt driven control endpoint task(+60)
  15. OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT