This repository has been archived on 2025-01-28. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
449 B
Makefile
Raw Normal View History

MCU = atmega32u4
OPT_DEFS += -DBOOTLOADER_SIZE=4096
FLASH_SIZE_KB = 32
BOOT_SECTION_SIZE_KB = 4
BOOT_LOADER = BootloaderHID
# Extra source files for IS3731 lighting
SRC = TWIlib.c issi.c lighting.c
# Processor frequency.
F_CPU = 16000000
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT