summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc43xx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-27 11:31:16 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-27 11:31:16 -0600
commit4660aa951272906abf2c6277ebe125dadebd321e (patch)
tree20c5fb7dbc1462e10ad0c98cfc3d54418758c864 /nuttx/arch/arm/src/lpc43xx
parent153a7be799b82c75cf04a53d2fe38efbeb390b24 (diff)
downloadnuttx-4660aa951272906abf2c6277ebe125dadebd321e.tar.gz
nuttx-4660aa951272906abf2c6277ebe125dadebd321e.tar.bz2
nuttx-4660aa951272906abf2c6277ebe125dadebd321e.zip
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/Kconfig21
1 files changed, 8 insertions, 13 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/Kconfig b/nuttx/arch/arm/src/lpc43xx/Kconfig
index 703eae9e9..8698c4f6d 100644
--- a/nuttx/arch/arm/src/lpc43xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc43xx/Kconfig
@@ -254,23 +254,27 @@ config LPC43_TMR3
config LPC43_USART0
bool "USART0"
- select ARCH_HAVE_USART0
default n
+ select ARCH_HAVE_USART0
+ select ARCH_HAVE_SERIAL_TERMIOS
config LPC43_UART1
bool "UART1"
- select ARCH_HAVE_UART1
default n
+ select ARCH_HAVE_UART1
+ select ARCH_HAVE_SERIAL_TERMIOS
config LPC43_USART2
bool "USART2"
- select ARCH_HAVE_USART2
default n
+ select ARCH_HAVE_USART2
+ select ARCH_HAVE_SERIAL_TERMIOS
config LPC43_USART3
bool "USART3"
- select ARCH_HAVE_USART3
default n
+ select ARCH_HAVE_USART3
+ select ARCH_HAVE_SERIAL_TERMIOS
config LPC43_USB0
bool "USB0"
@@ -290,12 +294,3 @@ config LPC43_WWDT
default n
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..