summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc43xx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-23 15:37:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-23 15:37:13 +0000
commit6355e50a2289d7d764ac9de87ddd1528c510bd8f (patch)
treebdace79b95ff390c7c1b0ccdd005816be2c83e6c /nuttx/arch/arm/src/lpc43xx
parent92ee042ea3f2cd97bcca3f1d752ec68dac919d85 (diff)
downloadpx4-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/arch/arm/src/lpc43xx')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/Kconfig b/nuttx/arch/arm/src/lpc43xx/Kconfig
index 706dab8a3..920b601c4 100644
--- a/nuttx/arch/arm/src/lpc43xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc43xx/Kconfig
@@ -485,5 +485,11 @@ config USART3_2STOP
endmenu
-
-
+config SERIAL_TERMIOS
+ bool "Serial driver TERMIOS supported"
+ depends on LPC43_USART0 || LPC43_UART1 || LPC43_USART2 || LPC43_USART3
+ default n
+ ---help---
+ 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..