Change spinloop in the AVRISP project Unknown V2 Protocol Command handler to use...
[pub/USBasp.git] / Projects / Unfinished / AVRISP / makefile
index 22fef8b..958d9ab 100644 (file)
@@ -119,7 +119,7 @@ OBJDIR = .
 \r
 \r
 # Path to the LUFA library\r
-LUFA_PATH = ../../\r
+LUFA_PATH = ../../../\r
 \r
 \r
 # LUFA library compile-time options\r
@@ -136,6 +136,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB
 SRC = $(TARGET).c                                                 \\r
          Descriptors.c                                               \
       Lib/V2Protocol.c                                            \\r
+      Lib/V2ProtocolParams.c                                      \\r
          $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c         \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c        \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c           \\r
@@ -193,6 +194,10 @@ CSTANDARD = -std=gnu99
 \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=PORTA\r
+CDEFS += -DRESET_LINE_DDR=DDRA\r
+CDEFS += -DRESET_LINE_MASK="(1 << 0)"\r
+\r
 \r
 # Place -D or -U options here for ASM sources\r
 ADEFS = -DF_CPU=$(F_CPU)\r