aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/mips
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-23 15:37:13 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-23 15:37:13 +0000
commit1e15a6d1cff9fe105d094316f06a01e0fc7e4465 (patch)
treebdace79b95ff390c7c1b0ccdd005816be2c83e6c /nuttx/arch/mips
parentfce36677c1495e988ba118f4721d45de5c2f42d6 (diff)
downloadpx4-firmware-1e15a6d1cff9fe105d094316f06a01e0fc7e4465.tar.gz
px4-firmware-1e15a6d1cff9fe105d094316f06a01e0fc7e4465.tar.bz2
px4-firmware-1e15a6d1cff9fe105d094316f06a01e0fc7e4465.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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4970 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/mips')
-rw-r--r--nuttx/arch/mips/src/pic32mx/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/Kconfig b/nuttx/arch/mips/src/pic32mx/Kconfig
index 26ec901a1..5c17f72c1 100644
--- a/nuttx/arch/mips/src/pic32mx/Kconfig
+++ b/nuttx/arch/mips/src/pic32mx/Kconfig
@@ -1188,6 +1188,15 @@ config UART6_2STOP
endmenu
+config SERIAL_TERMIOS
+ bool "Serial driver TERMIOS supported"
+ depends on PIC32MX_UART1 || PIC32MX_UART2 || PIC32MX_UART3 || PIC32MX_UART4 || PIC32MX_UART5 || PIC32MX_UART6
+ 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..
+
choice
prompt "PIC32MX PHY Selection"
depends on PIC32MX_ETHERNET