1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-07-08 22:28:55 +03:00
ben-blinkenlights/uart/avrdude/patches/nanonote-uart.patch
Werner Almesberger 9778f3fb1b 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
2011-02-04 17:51:27 -03:00

35 lines
742 B
Diff

Index: avrdude/avrdude-5.10/avrdude.conf.in
===================================================================
--- 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;
;
+#
+# 8:10 card pin assignment:
+#
+# DAT1 1
+# DAT0 2
+# VSS -
+# CLK - (reserved for clock output)
+# VDD -
+# CMD 5
+# DAT3 7
+# DAT2 8
+#
+
+programmer
+ id = "nanonote_uart";
+ desc = "NanoNote UART 8:10 card";
+ type = nanonote;
+ reset = 8;
+ sck = 2;
+ mosi = 7;
+ miso = 1;
+;
+
@HAVE_PARPORT_BEGIN@ Inclusion of the following depends on --enable-parport
# Parallel port programmers.