From 6355e50a2289d7d764ac9de87ddd1528c510bd8f Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 23 Jul 2012 15:37:13 +0000 Subject: Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4970 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/lpc4330-xplorer/nsh/defconfig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'nuttx/configs/lpc4330-xplorer/nsh/defconfig') diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig index 0fc8d93ad..27c434d53 100644 --- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig +++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig @@ -181,6 +181,11 @@ CONFIG_LPC43_WWDT=n # # LPC43xx specific serial device driver settings # +# CONFIG_SERIAL_TERMIOS - Serial driver supports termios.h interfaces (tcsetattr, +# tcflush, etc.). If this is not defined, then the terminal settings (baud, +# parity, etc.) are not configurable at runtime; serial streams cannot be +# flushed, etc. +# # CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the # console and ttys0 (default is the UART1). # CONFIG_U[S]ARTn_RXBUFSIZE - Characters are buffered as received. @@ -192,6 +197,8 @@ CONFIG_LPC43_WWDT=n # CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity # CONFIG_U[S]ARTn_2STOP - Two stop bits # +CONFIG_SERIAL_TERMIOS=n + CONFIG_USART0_SERIAL_CONSOLE=y CONFIG_UART1_SERIAL_CONSOLE=n CONFIG_USART2_SERIAL_CONSOLE=n @@ -776,10 +783,6 @@ CONFIG_FTPD_CMDBUFFERSIZE=2048 # CONFIG_MB_ASCII_ENABLED - Modbus ASCII support # CONFIG_MB_RTU_ENABLED - Modbus RTU support # CONFIG_MB_TCP_ENABLED - Modbus TCP support -# CONFIG_MB_TERMIOS - Serial driver supports termios.h interfaces (tcsetattr, -# tcflush, etc.). If this is not defined, then the terminal settings (baud, -# parity, etc.) are not configurable at runtime; serial streams will not be -# flushed when closed. # CONFIG_MB_ASCII_TIMEOUT_SEC - Character timeout value for Modbus ASCII. The # character timeout value is not fixed for Modbus ASCII and is therefore # a configuration option. It should be set to the maximum expected delay @@ -826,7 +829,6 @@ CONFIG_MODBUS=n CONFIG_MB_ASCII_ENABLED=y CONFIG_MB_RTU_ENABLED=y CONFIG_MB_TCP_ENABLED=n -CONFIG_MB_TERMIOS=n CONFIG_MB_ASCII_TIMEOUT_SEC=1 CONFIG_MB_ASCII_TIMEOUT_WAIT_BEFORE_SEND_MS=0 CONFIG_MB_FUNC_HANDLERS_MAX=16 -- cgit v1.2.3