diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-27 11:31:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-27 11:31:16 -0600 |
commit | 4660aa951272906abf2c6277ebe125dadebd321e (patch) | |
tree | 20c5fb7dbc1462e10ad0c98cfc3d54418758c864 /nuttx/arch/arm/src/lpc17xx | |
parent | 153a7be799b82c75cf04a53d2fe38efbeb390b24 (diff) | |
download | nuttx-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/lpc17xx')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/Kconfig | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Kconfig b/nuttx/arch/arm/src/lpc17xx/Kconfig index 0352eb087..d874546b4 100644 --- a/nuttx/arch/arm/src/lpc17xx/Kconfig +++ b/nuttx/arch/arm/src/lpc17xx/Kconfig @@ -169,28 +169,33 @@ config LPC17_SDCARD config LPC17_UART0 bool "UART0" - select ARCH_HAVE_UART0 default n + select ARCH_HAVE_UART0 + select ARCH_HAVE_SERIAL_TERMIOS config LPC17_UART1 bool "UART1" - select ARCH_HAVE_UART1 default n + select ARCH_HAVE_UART1 + select ARCH_HAVE_SERIAL_TERMIOS config LPC17_UART2 bool "UART2" - select ARCH_HAVE_UART2 default n + select ARCH_HAVE_UART2 + select ARCH_HAVE_SERIAL_TERMIOS config LPC17_UART3 bool "UART3" - select ARCH_HAVE_UART3 default n + select ARCH_HAVE_UART3 + select ARCH_HAVE_SERIAL_TERMIOS config LPC17_UART4 bool "UART4" - select ARCH_HAVE_UART4 default n + select ARCH_HAVE_UART4 + select ARCH_HAVE_SERIAL_TERMIOS config LPC17_CAN1 bool "CAN1" @@ -465,15 +470,6 @@ endmenu menu "Serial driver options" depends on LPC17_UART0 || LPC17_UART1 || LPC17_UART2 || LPC17_UART3 || LPC17_UART4 -config SERIAL_TERMIOS - bool "Serial driver TERMIOS supported" - depends on LPC17_UART0 || LPC17_UART1 || LPC17_UART2 || LPC17_UART3 - 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.. - config UART1_RINGINDICATOR bool "UART1 ring indicator" depends on LPC17_UART1 |