1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

uart/avrdude: various corrections

nanonote-uart.patch:

- avrdude.conf.in: CLK is reserved for clock output

nanonote.patch:

- nanonote.c (pin_map, nanonote_setpin, nanonote_getpin): make pin map
  zero-based
- nanonote.c (nanonote_setpin): instead of having out own delay loop
  setting the pin repeatedly, just add the delay we need to
  pgm->ispdelay+100
- nanonote.c (nanonote_setpin): increase delay for atusb-pgm
- nanonote.c (nanonote_getpin, nanonote_open): begin with all pins set
  to output and switch MISO only when read
This commit is contained in:
Werner Almesberger
2011-02-04 17:51:27 -03:00
parent 1557630a8b
commit 9778f3fb1b
2 changed files with 27 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
Index: avrdude/avrdude-5.10/avrdude.conf.in
===================================================================
--- avrdude.orig/avrdude-5.10/avrdude.conf.in 2011-02-03 21:08:13.000000000 -0300
+++ avrdude/avrdude-5.10/avrdude.conf.in 2011-02-03 21:16:34.000000000 -0300
--- avrdude.orig/avrdude-5.10/avrdude.conf.in 2011-02-04 17:26:06.000000000 -0300
+++ avrdude/avrdude-5.10/avrdude.conf.in 2011-02-04 17:26:07.000000000 -0300
@@ -592,6 +592,29 @@
type = avr910;
;
@@ -12,7 +12,7 @@ Index: avrdude/avrdude-5.10/avrdude.conf.in
+# DAT1 1
+# DAT0 2
+# VSS -
+# CLK 4
+# CLK - (reserved for clock output)
+# VDD -
+# CMD 5
+# DAT3 7