X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/244bba2097574fd9c4905eadac069c57796cbc28..e2822fb30dd3903e9be24b01d5874ba4123be8bc:/Projects/AVRISP/makefile diff --git a/Projects/AVRISP/makefile b/Projects/AVRISP/makefile index 84ca93ab6..0726f86b6 100644 --- a/Projects/AVRISP/makefile +++ b/Projects/AVRISP/makefile @@ -60,7 +60,7 @@ # MCU name -MCU = at90usb647 +MCU = at90usb1287 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring @@ -197,6 +197,7 @@ CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA 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 @@ -223,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