mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
upload: force hex file format for upload
this should fix a problem with hex file format detection on MacOS
This commit is contained in:
parent
44f62c7776
commit
0da5125b7f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user