From ae733cf8ab531f3ecc5ff3230d39fe9ebc7638c8 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 18 Nov 2011 05:15:37 +0100 Subject: first rebuild the hex file, before reseting and flashing --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino.mk b/Arduino.mk index e55b683..7e9cea1 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -420,7 +420,7 @@ $(TARGET_ELF): $(OBJS) $(CORE_ARCHIVE) $(DEP_FILE): $(OBJDIR) $(DEPS) cat $(DEPS) > $(DEP_FILE) -upload: reset raw_upload +upload: $(TARGET_HEX) reset raw_upload raw_upload: $(TARGET_HEX) $(AVRDUDE) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ARD_OPTS) \ -- cgit v1.2.3