Add VTARGET level detection to the AVRISP project on supported AVR models.
[pub/USBasp.git] / Projects / AVRISP / makefile
index 84ca93a..5ea1176 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