From 8e6335ad1ff9df290693d5f4bbf919c205d846cc Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Mon, 18 May 2009 13:03:56 +0200 Subject: * digital/io/src: - integrate trace usage into flash. --- digital/io/src/avrconfig.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'digital/io/src/avrconfig.h') diff --git a/digital/io/src/avrconfig.h b/digital/io/src/avrconfig.h index 74ceb238..b0afb529 100644 --- a/digital/io/src/avrconfig.h +++ b/digital/io/src/avrconfig.h @@ -55,7 +55,7 @@ /** If the send buffer is full when putc: * - DROP: drop the new byte. * - WAIT: wait until there is room in the send buffer. */ -#define AC_UART0_SEND_BUFFER_FULL DROP +#define AC_UART0_SEND_BUFFER_FULL WAIT /** In HOST compilation: * - STDIO: use stdin/out. * - PTS: use pseudo terminal. */ @@ -110,4 +110,18 @@ */ #define AC_ASSERV_STATUS_LENGTH 15 +/* spi - SPI module. */ +/** Select driver: HARD, SOFT, or NONE. */ +#define AC_SPI0_DRIVER HARD +/** Same thing for an optionnal second SPI driver. */ +#define AC_SPI1_DRIVER NONE + +/* flash - Flash SPI AVR module. */ +/** Flash PORT used. */ +#define AC_FLASH_PORT PORTD +/** Flash DDR used. */ +#define AC_FLASH_DDR DDRD +/** Flash SS pin. */ +#define AC_FLASH_BIT_SS 5 + #endif /* avrconfig_h */ -- cgit v1.2.3