upload: force hex file format for upload

this should fix a problem with hex file format detection on MacOS
This commit is contained in:
Andrew Tridgell 2011-11-27 09:35:07 +11:00
parent 44f62c7776
commit 0da5125b7f

View File

@ -418,7 +418,7 @@ all: $(SKETCHELF) $(SKETCHEEP) $(SKETCHHEX)
.PHONY: upload
upload: $(SKETCHHEX)
$(AVRDUDE) -c $(UPLOAD_PROTOCOL) -p $(MCU) -P $(PORT) -b$(UPLOAD_SPEED) -U $(SKETCHHEX)
$(AVRDUDE) -c $(UPLOAD_PROTOCOL) -p $(MCU) -P $(PORT) -b$(UPLOAD_SPEED) -U flash:w:$(SKETCHHEX):i
configure:
$(warning WARNING - A $(SKETCHBOOK)/config.mk file has been written)