summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-20 20:30:04 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-20 20:30:04 +0000
commit45b84f3ae2816b98b3224f954c3e326dc7530d74 (patch)
tree3304b7f28a0e0d0c47e8b71c93dccc5d22196e63
parentbugfixes at RESET_FUNC (diff)
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
-rw-r--r--include.mk3
1 files changed, 1 insertions, 2 deletions
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