diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-18 05:15:37 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-18 05:15:37 +0100 |
commit | ae733cf8ab531f3ecc5ff3230d39fe9ebc7638c8 (patch) | |
tree | ae878fe2d25923d13b605f9f1c28075914f6ffed | |
parent | fcf04bcd0a6536870bc3c7f0e620c0640c17f03c (diff) | |
download | arduino-mk-ae733cf8ab531f3ecc5ff3230d39fe9ebc7638c8.tar.gz arduino-mk-ae733cf8ab531f3ecc5ff3230d39fe9ebc7638c8.tar.xz arduino-mk-ae733cf8ab531f3ecc5ff3230d39fe9ebc7638c8.zip |
first rebuild the hex file, before reseting and flashing
-rw-r--r-- | Arduino.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) \ |