Don't append port details to avrdude for usbasp
When usbasp is used as programmer, there is no need to specify the port to avrdude. Fix #123
This commit is contained in:
parent
9c22972b98
commit
9ff2b2e4d6
2 changed files with 8 additions and 1 deletions
|
@ -4,6 +4,9 @@ A Makefile for Arduino Sketches
|
|||
The following is the rough list of changes that went into different versions.
|
||||
I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.
|
||||
|
||||
### 1.1.0 (in development)
|
||||
- Don't append port details to avrdude for usbasp. See #123
|
||||
|
||||
### 1.0.1 (2013-09-25)
|
||||
- Unconditionally add -D in avrdude options. See #114
|
||||
|
||||
|
|
|
@ -1011,7 +1011,11 @@ ifndef AVRDUDE_ISP_FUSES_POST
|
|||
endif
|
||||
endif
|
||||
|
||||
AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE) -P $(call get_isp_port)
|
||||
AVRDUDE_ISP_OPTS = -c $(ISP_PROG) -b $(AVRDUDE_ISP_BAUDRATE)
|
||||
|
||||
ifneq ($(strip $(ISP_PROG)),usbasp)
|
||||
AVRDUDE_ISP_OPTS += -P $(call get_isp_port)
|
||||
endif
|
||||
|
||||
ifndef ISP_EEPROM
|
||||
ISP_EEPROM = 0
|
||||
|
|
Loading…
Reference in a new issue