From 5a33950a5197f3f251eeb29759547a9efe3d8a43 Mon Sep 17 00:00:00 2001 From: fablabpisa Date: Wed, 31 Jul 2013 18:06:37 +0200 Subject: [PATCH] improved upload --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f70dcae..66a138b 100644 --- a/Makefile +++ b/Makefile @@ -157,6 +157,7 @@ $(TMPDIR)/$(PROJNAME).bin: $(TMPDIR)/$(PROJNAME).elf #upload to the arduino by first resetting it (stty) and the running bossac upload: $(TMPDIR)/$(PROJNAME).bin stty -F $(PORT) cs8 1200 hupcl + sleep 1 $(ADIR)/tools/bossac -U false -e -w $(VERIFY) -b $(TMPDIR)/$(PROJNAME).bin -R #to view the serial port with screen.