summaryrefslogtreecommitdiff
path: root/digital/avr/modules/isp/test/avrconfig.h
diff options
context:
space:
mode:
authorNicolas Schodet2009-04-17 00:25:53 +0200
committerNicolas Schodet2009-04-17 00:25:53 +0200
commit38dc291a2c718660c3c957c53f580b07cf3ec94f (patch)
tree8400a2c0e1b275317bce7f44c1ae9ab48366f1d3 /digital/avr/modules/isp/test/avrconfig.h
parent0476a9aed588828414a13361ee6f1983265416e5 (diff)
* digital/avr/modules/isp:
- added isp_frame to handle AVR068 protocol.
Diffstat (limited to 'digital/avr/modules/isp/test/avrconfig.h')
-rw-r--r--digital/avr/modules/isp/test/avrconfig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/digital/avr/modules/isp/test/avrconfig.h b/digital/avr/modules/isp/test/avrconfig.h
index 5c1538d3..2b4e37de 100644
--- a/digital/avr/modules/isp/test/avrconfig.h
+++ b/digital/avr/modules/isp/test/avrconfig.h
@@ -25,4 +25,12 @@
*
* }}} */
+/* isp - ISP module. */
+/** Size of isp_frame buffer. */
+#define AC_ISP_FRAME_BUFFER_SIZE 275
+/** Should be implemented by the user to send a character. */
+#define AC_ISP_FRAME_SEND_CHAR uart0_putc
+/** Should be implemented by the user (isp_proto) to accept a frame. */
+#define AC_ISP_FRAME_ACCEPT_FRAME isp_proto_accept
+
#endif /* avrconfig_h */