Added AVR_BITCLK
parent
7c9b1a4dd6
commit
ddfcbcf6a4
5
Makefile
5
Makefile
|
@ -78,6 +78,9 @@ endif
|
|||
ifeq (,$(AVR_PROG))
|
||||
AVR_PROG=avrisp2
|
||||
endif
|
||||
ifeq (,$(AVR_BITCLK))
|
||||
AVR_BITCLK=16
|
||||
endif
|
||||
|
||||
|
||||
.SILENT:
|
||||
|
@ -180,7 +183,7 @@ $(BASE)/.build/%.o: $(CURDIR)/src/%.txt
|
|||
$(BASE)/.build/.%.dep:
|
||||
|
||||
avrdude: $(BASE)/bin/$(FINALNAME).hex
|
||||
$(AVRDUDE) -c $(AVR_PROG) -p $(AVR_MCU) -P usb: -B 8 $(AVRDUDE_OPERATIONS) -U flash:w:$(BASE)/bin/$(FINALNAME).hex
|
||||
$(AVRDUDE) -c $(AVR_PROG) -p $(AVR_MCU) -P usb: -B $(AVR_BITCLK) $(AVRDUDE_OPERATIONS) -U flash:w:$(BASE)/bin/$(FINALNAME).hex
|
||||
|
||||
include $(wildcard $(MODULEDEPS))
|
||||
|
||||
|
|
Loading…
Reference in New Issue