Remove deleted source files from the LUFA library makefile.
[pub/USBasp.git] / Projects / AVRISP / makefile
index 84ca93a..0726f86 100644 (file)
@@ -60,7 +60,7 @@
 \r
 \r
 # MCU name\r
-MCU = at90usb647\r
+MCU = at90usb1287\r
 \r
 \r
 # Target board (see library "Board Types" documentation, USER or blank for projects not requiring\r
@@ -197,6 +197,7 @@ CDEFS  = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA
 CDEFS += -DRESET_LINE_PORT=PORTB\r
 CDEFS += -DRESET_LINE_DDR=DDRB\r
 CDEFS += -DRESET_LINE_MASK="(1 << 4)"\r
+CDEFS += -DVTARGET_ADC_CHANNEL=2\r
 \r
 \r
 # Place -D or -U options here for ASM sources\r
@@ -223,9 +224,9 @@ CFLAGS += -O$(OPT)
 CFLAGS += -funsigned-char\r
 CFLAGS += -funsigned-bitfields\r
 CFLAGS += -ffunction-sections\r
+CFLAGS += -fno-inline-small-functions\r
 CFLAGS += -fpack-struct\r
 CFLAGS += -fshort-enums\r
-CFLAGS += -finline-limit=20\r
 CFLAGS += -Wall\r
 CFLAGS += -Wstrict-prototypes\r
 CFLAGS += -Wundef\r