1 LUFA_DIR
= protocol
/lufa
3 # Path to the LUFA library
4 LUFA_PATH
= protocol
/lufa
/LUFA-120219
6 # Create the LUFA source path variables by including the LUFA root makefile
7 include $(TOP_DIR
)/$(LUFA_PATH
)/LUFA
/makefile
9 LUFA_SRC
= $(LUFA_DIR
)/lufa.c \
10 $(LUFA_DIR
)/descriptor.c \
16 VPATH
+= $(TOP_DIR
)/$(LUFA_DIR
)
17 VPATH
+= $(TOP_DIR
)/$(LUFA_PATH
)
20 #ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
23 #ifdef EXTRAKEY_ENABLE
26 # LUFA library compile-time options and predefined tokens
27 LUFA_OPTS
= -D USB_DEVICE_ONLY
28 LUFA_OPTS
+= -D FIXED_CONTROL_ENDPOINT_SIZE
=8
29 LUFA_OPTS
+= -D FIXED_NUM_CONFIGURATIONS
=1
30 LUFA_OPTS
+= -D USE_FLASH_DESCRIPTORS
31 LUFA_OPTS
+= -D USE_STATIC_OPTIONS
="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
33 OPT_DEFS
+= -DF_USB
=$(F_USB
)UL
34 OPT_DEFS
+= -DARCH
=ARCH_
$(ARCH
)
35 OPT_DEFS
+= $(LUFA_OPTS
)
36 OPT_DEFS
+= -DHOST_LUFA