X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/ecd82778cf9a53e34f13d9ce6dcd7e1a4cf76b70..0fdc1a2bc66f97048b94b967e80cd294189fca62:/Projects/AVRISP/makefile diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 22fef8b72..0726f86b6 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) @@ -218,9 +224,9 @@ CFLAGS += -O$(OPT) CFLAGS += -funsigned-char CFLAGS += -funsigned-bitfields CFLAGS += -ffunction-sections +CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums -CFLAGS += -finline-limit=20 CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Wundef