X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/42cfd157936571c70b6ba0be48fbda1ab7b450a1..18b0d408a9e68cbc1ce36da89d74a799d7fc31de:/Projects/AVRISP/makefile diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 6eebb2b33..261d12787 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -66,7 +66,7 @@ MCU = at90usb1287 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. -BOARD = USBKEY +BOARD = USBKEY # Processor frequency. @@ -129,10 +129,13 @@ SRC = $(TARGET).c \ Descriptors.c \ Lib/V2Protocol.c \ Lib/V2ProtocolParams.c \ - Lib/ISPProtocol.c \ - Lib/ISPTarget.c \ - Lib/PDIProtocol.c \ - Lib/PDITarget.c \ + Lib/ISP/ISPProtocol.c \ + Lib/ISP/ISPTarget.c \ + Lib/XPROG/XPROGProtocol.c \ + Lib/XPROG/PDITarget.c \ + Lib/XPROG/XMEGANVM.c \ + Lib/XPROG/TPITarget.c \ + Lib/XPROG/TINYNVM.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 \ @@ -190,11 +193,12 @@ 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_PIN=PINB CDEFS += -DRESET_LINE_DDR=DDRB CDEFS += -DRESET_LINE_MASK="(1 << 4)" CDEFS += -DVTARGET_ADC_CHANNEL=2 CDEFS += -DENABLE_ISP_PROTOCOL -CDEFS += -DENABLE_PDI_PROTOCOL +CDEFS += -DENABLE_XPROG_PROTOCOL # Place -D or -U options here for ASM sources