diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 1ba2b81..26d20c8 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -1048,7 +1048,7 @@ endif AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE) -ifneq ($(strip $(ISP_PROG)),usbasp) +ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny)) AVRDUDE_ISP_OPTS += -P $(call get_isp_port) endif