Reorganise V2Protocol.c, add in function to assert or de-assert target RESET pin.
[pub/USBasp.git] / Projects / Unfinished / AVRISP / makefile
index 22fef8b..d2128dc 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
@@ -193,6 +193,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