X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70..d297ea12b706e7099f34f667e43bf1f3de1713e7:/Projects/AVRISP/makefile diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 22fef8b72..5ea1176b6 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -136,7 +136,8 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENAB SRC = $(TARGET).c \ Descriptors.c \ Lib/V2Protocol.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ + Lib/V2ProtocolParams.c \ + Lib/V2ProtocolTarget.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Host.c \ @@ -193,6 +194,11 @@ CSTANDARD = -std=gnu99 # Place -D or -U options here for C sources CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS) +CDEFS += -DRESET_LINE_PORT=PORTB +CDEFS += -DRESET_LINE_DDR=DDRB +CDEFS += -DRESET_LINE_MASK="(1 << 4)" +CDEFS += -DVTARGET_ADC_CHANNEL=2 + # Place -D or -U options here for ASM sources ADEFS = -DF_CPU=$(F_CPU)