added "gpio" to the list of isp's that don't have a port

(the gpio programmer type is used on the raspberry pi to upload using
the gpio spi pins via a sysfs interface, with a modified avrdude)

partially fixes issue #165
This commit is contained in:
Simon John 2014-02-08 01:45:44 +00:00
parent 0b954ab5a5
commit 8dacfb0091

View file

@ -1075,7 +1075,7 @@ endif
AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE) AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE)
ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny)) ifneq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), usbasp usbtiny gpio))
AVRDUDE_ISP_OPTS += -P $(call get_isp_port) AVRDUDE_ISP_OPTS += -P $(call get_isp_port)
endif endif