From 0da5125b7f8dc58d966a68a1ec7d94009fa6561a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 27 Nov 2011 09:35:07 +1100 Subject: [PATCH] upload: force hex file format for upload this should fix a problem with hex file format detection on MacOS --- libraries/AP_Common/Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/Arduino.mk b/libraries/AP_Common/Arduino.mk index a182c26a61..5544fafe7a 100644 --- a/libraries/AP_Common/Arduino.mk +++ b/libraries/AP_Common/Arduino.mk @@ -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)