From: arighi Date: Tue, 27 Apr 2010 13:16:26 +0000 (+0000) Subject: lm3s1968: update UART configuration in the example. X-Git-Tag: 2.5.0~370 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f25fa954b88fc1b9fed43282310d6cc19ab9dfcb;p=bertos.git lm3s1968: update UART configuration in the example. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3538 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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].