Add completed but untested support for RS-485 on the LPC43xx

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4959 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-07-20 18:32:16 +00:00
parent 74e377cbeb
commit f946c431a6
4 changed files with 10 additions and 5 deletions

View File

@ -729,7 +729,7 @@ LPC4330-Xplorer Configuration Options
CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
CONFIG_U[S]ARTn_2STOP - Two stop bits
CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
RS-485 mode.

View File

@ -261,6 +261,7 @@
#define PINCONF_U0_TXD PINCONF_U0_TXD_3
#define PINCONF_U0_RXD PINCONF_U0_RXD_3
#define PINCONF_U0_DIR PINCONF_U0_DIR_3
#define PINCONF_U1_TXD PINCONF_U1_TXD_1
#define PINCONF_U1_RXD PINCONF_U1_RXD_1

View File

@ -228,11 +228,13 @@ CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
# RS-485 mode.
#
CONFIG_USART_RS485MODE=n
CONFIG_USART0_RS485MODE=n
CONFIG_USART2_RS485MODE=n
CONFIG_USART3_RS485MODE=n
#
# LPC43xx specific PHY/Ethernet device driver settings

View File

@ -228,11 +228,13 @@ CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
# RS-485 mode.
#
CONFIG_USART_RS485MODE=n
CONFIG_USART0_RS485MODE=n
CONFIG_USART2_RS485MODE=n
CONFIG_USART3_RS485MODE=n
#
# LPC43xx specific PHY/Ethernet device driver settings