Fix Arduino Makefile to include GitVersion on upload

boxcar
phl0 2017-06-06 10:50:53 +02:00
parent 61b05dd5af
commit 1dc23a4aa6
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A
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