\r
\r
# MCU name\r
-MCU = at90usb1287\r
+MCU = at90usb647\r
\r
\r
# Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
#\r
# If no clock division is performed on the input clock inside the AVR (via the\r
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.\r
-F_CLOCK = 8000000\r
+F_CLOCK = $(F_CPU)\r
\r
\r
# Output format. (can be srec, ihex, binary)\r
\r
# LUFA library compile-time options\r
LUFA_OPTS = -D USE_NONSTANDARD_DESCRIPTOR_NAMES\r
-LUFA_OPTS += -D NO_STREAM_CALLBACKS\r
LUFA_OPTS += -D USB_HOST_ONLY\r
+LUFA_OPTS += -D NO_STREAM_CALLBACKS\r
LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"\r
\r
\r
$(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/ConfigDescriptor.c \\r
$(LUFA_PATH)/LUFA/Drivers/USB/Class/Device/HID.c \\r
$(LUFA_PATH)/LUFA/Drivers/USB/Class/Host/HID.c \\r
- $(LUFA_PATH)/LUFA/Drivers/USB/Class/Host/HIDParser.c \\r
\r
\r
# List C++ source files here. (C dependencies are automatically generated.)\r