Skip to content

Commit

Permalink
Merge pull request #97 from phl0/fixUpload
Browse files Browse the repository at this point in the history
Fix Arduino Makefile to include GitVersion on upload
  • Loading branch information
g4klx committed Jun 6, 2017
2 parents 61b05dd + 1dc23a4 commit c2ed9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.Arduino
Expand Up @@ -175,7 +175,7 @@ $(TMPDIR)/$(PROJNAME).bin: $(TMPDIR)/$(PROJNAME).elf
$(OBJCOPY) -O binary $< $@

#upload to the arduino by first resetting it (stty) and the running bossac
upload: $(TMPDIR)/$(PROJNAME).bin
upload: GitVersion.h $(TMPDIR)/$(PROJNAME).bin
stty -F /dev/$(PORT) cs8 1200 hupcl
$(ADIR)/packages/arduino/tools/bossac/1.6.1-arduino/bossac -i --port=$(PORT) -U false -e -w $(VERIFY) -b $(TMPDIR)/$(PROJNAME).bin -R

Expand Down

0 comments on commit c2ed9d4

Please sign in to comment.