Merge pull request #97 from phl0/fixUpload

Fix Arduino Makefile to include GitVersion on upload
This commit is contained in:
Jonathan Naylor 2017-06-06 12:08:31 +01:00 committed by GitHub
commit c2ed9d4ae7
1 changed files with 1 additions and 1 deletions

View File

@ -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