From a2c8fe51968cf6588217d3187a674d1c44d506f0 Mon Sep 17 00:00:00 2001 From: Simon John Date: Thu, 23 Oct 2014 23:44:14 +0100 Subject: Add's "avrispmkii" to the list of ISP's that don't have a port, defaults to reading communication_type from avrdude.conf, which is "usb" usually, rather than setting the -P flag which is the user override. --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Arduino.mk') diff --git a/Arduino.mk b/Arduino.mk index fb5db4f..40f4a01 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1310,7 +1310,7 @@ endif AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE) ifndef $(ISP_PORT) - ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny gpio)) + ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny gpio avrispmkii)) AVRDUDE_ISP_OPTS += -P $(call get_isp_port) endif else -- cgit v1.2.3