1 # Set the LFK87 hardware version.
3 # RevA - Green PCB. at90usb1286 Only 3 exist
4 # RevB - We don't talk about RevB
5 # RevC - Black PCB. at90usb646 First public release
12 OPT_DEFS += -DBOOTLOADER_SIZE=8192
15 OPT_DEFS += -DBOOTLOADER_SIZE=4096
17 OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
19 # Processor frequency.
20 # This will define a symbol, F_CPU, in all source code files equal to the
21 # processor frequency in Hz. You can then use this symbol in your source code to
22 # calculate timings. Do NOT tack on a 'UL' at the end, this will be done
23 # automatically to create a 32-bit value in your source code.
25 # This will be an integer division of F_USB below, as it is sourced by
26 # F_USB after it has run through any CPU prescalers. Note that this value
27 # does not *change* the processor frequency - it should merely be updated to
28 # reflect the processor speed set externally so that the code can use accurate
36 # Target architecture (see library "Board Types" documentation).
39 # Input clock frequency.
40 # This will define a symbol, F_USB, in all source code files equal to the
41 # input clock frequency (before any prescaling is performed) in Hz. This value may
42 # differ from F_CPU if prescaling is used on the latter, and is required as the
43 # raw input clock is fed directly to the PLL sections of the AVR for high speed
44 # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
45 # at the end, this will be done automatically to create a 32-bit value in your
48 # If no clock division is performed on the input clock inside the AVR (via the
49 # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
52 # Interrupt driven control endpoint task(+60)
53 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
55 # Extra source files for IS3731 lighting
56 SRC = TWIlib.c issi.c lighting.c
58 ifeq ($(strip $(ISSI_ENABLE)), yes)
59 # TMK_COMMON_DEFS += -DISSI_ENABLE