From 1dc23a4aa61d7e7703fe30d531c9ae33b587b49e Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 6 Jun 2017 10:50:53 +0200 Subject: [PATCH] Fix Arduino Makefile to include GitVersion on upload --- Makefile.Arduino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.Arduino b/Makefile.Arduino index 36c3dd46..3baccd39 100644 --- a/Makefile.Arduino +++ b/Makefile.Arduino @@ -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