\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
\r
# Path to the LUFA library\r
-LUFA_PATH = ../../\r
+LUFA_PATH = ../../../\r
\r
\r
# LUFA library compile-time options\r
SRC = $(TARGET).c \\r
Descriptors.c \
Lib/V2Protocol.c \\r
- $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \\r
+ Lib/V2ProtocolParams.c \\r
+ Lib/V2ProtocolTarget.c \\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \\r
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \\r
\r
# Place -D or -U options here for C sources\r
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)\r
+CDEFS += -DRESET_LINE_PORT=PORTB\r
+CDEFS += -DRESET_LINE_DDR=DDRB\r
+CDEFS += -DRESET_LINE_MASK="(1 << 4)"\r
+\r
\r
# Place -D or -U options here for ASM sources\r
ADEFS = -DF_CPU=$(F_CPU)\r