X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70..cfe054474ffafddcbba0f6d3f46d3f02473fac96:/Projects/AVRISP/makefile diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 22fef8b72..72b1fd76c 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -60,7 +60,7 @@ # MCU name -MCU = at90usb1287 +MCU = at90usb647 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring @@ -119,7 +119,7 @@ OBJDIR = . # Path to the LUFA library -LUFA_PATH = ../../ +LUFA_PATH = ../../../ # LUFA library compile-time options @@ -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,10 @@ 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)" + # Place -D or -U options here for ASM sources ADEFS = -DF_CPU=$(F_CPU)