aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2014-10-23 23:44:14 +0100
committerSimon John <git@the-jedi.co.uk>2014-10-23 23:44:14 +0100
commita2c8fe51968cf6588217d3187a674d1c44d506f0 (patch)
treee1c0bd726fd46e256ac20bcf94acc324d00a5974 /Arduino.mk
parent8d443f62c88e4f211dbfeab33df876887fa0f53b (diff)
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.
Diffstat (limited to 'Arduino.mk')
-rw-r--r--Arduino.mk2
1 files changed, 1 insertions, 1 deletions
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