From f25fa954b88fc1b9fed43282310d6cc19ab9dfcb Mon Sep 17 00:00:00 2001 From: arighi Date: Tue, 27 Apr 2010 13:16:26 +0000 Subject: [PATCH] lm3s1968: update UART configuration in the example. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3538 38d2e660-2303-0410-9eaa-f027e97ec537 --- examples/lm3s1968/cfg/cfg_ser.h | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/examples/lm3s1968/cfg/cfg_ser.h b/examples/lm3s1968/cfg/cfg_ser.h index dba27153..91a10e0b 100644 --- a/examples/lm3s1968/cfg/cfg_ser.h +++ b/examples/lm3s1968/cfg/cfg_ser.h @@ -32,8 +32,6 @@ * * \brief Configuration file for serial module. * - * \version $Id$ - * * \author Daniele Basile */ @@ -64,7 +62,7 @@ * Size of the outbound FIFO buffer for port 1 [bytes]. * $WIZ$ type = "int" * $WIZ$ min = 2 - * $WIZ$ supports = "at91 and not atmega8 and not atmega168 and not atmega32" + * $WIZ$ supports = "lm3s or lpc2 or (at91 and not atmega8 and not atmega168 and not atmega32)" */ #define CONFIG_UART1_TXBUFSIZE 32 @@ -72,7 +70,7 @@ * Size of the inbound FIFO buffer for port 1 [bytes]. * $WIZ$ type = "int" * $WIZ$ min = 2 - * $WIZ$ supports = "at91 and not atmega8 and not atmega168 and not atmega32" + * $WIZ$ supports = "lm3s or lpc2 or (at91 and not atmega8 and not atmega168 and not atmega32)" */ #define CONFIG_UART1_RXBUFSIZE 32 @@ -80,7 +78,7 @@ * Size of the outbound FIFO buffer for port 2 [bytes]. * $WIZ$ type = "int" * $WIZ$ min = 2 - * $WIZ$ supports = "lm3s" + * $WIZ$ supports = "lm3s or lpc2" */ #define CONFIG_UART2_TXBUFSIZE 32 @@ -88,10 +86,26 @@ * Size of the inbound FIFO buffer for port 2 [bytes]. * $WIZ$ type = "int" * $WIZ$ min = 2 - * $WIZ$ supports = "lm3s" + * $WIZ$ supports = "lm3s or lpc2" */ #define CONFIG_UART2_RXBUFSIZE 32 +/** + * Size of the outbound FIFO buffer for port 3 [bytes]. + * $WIZ$ type = "int" + * $WIZ$ min = 2 + * $WIZ$ supports = "lpc2" + */ +#define CONFIG_UART3_TXBUFSIZE 32 + +/** + * Size of the inbound FIFO buffer for port 3 [bytes]. + * $WIZ$ type = "int" + * $WIZ$ min = 2 + * $WIZ$ supports = "lpc2" + */ +#define CONFIG_UART3_RXBUFSIZE 32 + /** * Size of the outbound FIFO buffer for SPI port [bytes]. -- 2.25.1