From 45b84f3ae2816b98b3224f954c3e326dc7530d74 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 20 May 2012 20:30:04 +0000 Subject: fixed avrdude behavior (erase and flash at once - bootloader may be to fast) git-svn-id: https://svn.spreadspace.org/avr/trunk@24 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- include.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include.mk') diff --git a/include.mk b/include.mk index 53b4953..93a34fb 100644 --- a/include.mk +++ b/include.mk @@ -183,11 +183,10 @@ endef ### avrdude define avrdude/erase - $(avrdude) -V -F -p $(MCU) -P $(AVRDUDE_PORT) -c $(PROG_TYPE) -b $(UPLOAD_RATE) -e endef define avrdude/flash - $(avrdude) -V -F -p $(MCU) -P $(AVRDUDE_PORT) -c $(PROG_TYPE) -b $(UPLOAD_RATE) -D -U flash:w:$1 + $(avrdude) -V -F -p $(MCU) -P $(AVRDUDE_PORT) -c $(PROG_TYPE) -b $(UPLOAD_RATE) -U flash:w:$1 endef define avrdude/run -- cgit v1.2.3