diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-23 15:37:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-23 15:37:13 +0000 |
commit | 6355e50a2289d7d764ac9de87ddd1528c510bd8f (patch) | |
tree | bdace79b95ff390c7c1b0ccdd005816be2c83e6c /nuttx/configs/lpc4330-xplorer/nsh/defconfig | |
parent | 92ee042ea3f2cd97bcca3f1d752ec68dac919d85 (diff) | |
download | px4-nuttx-6355e50a2289d7d764ac9de87ddd1528c510bd8f.tar.gz px4-nuttx-6355e50a2289d7d764ac9de87ddd1528c510bd8f.tar.bz2 px4-nuttx-6355e50a2289d7d764ac9de87ddd1528c510bd8f.zip |
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
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/nsh/defconfig')
-rw-r--r-- | nuttx/configs/lpc4330-xplorer/nsh/defconfig | 12 |
1 files changed, 7 insertions, 5 deletions
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 |