summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/nuc1xx/nuc_config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-22 17:53:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-22 17:53:47 +0000
commit8acb89e0800041b91f88c01e241d60d2c19ae852 (patch)
tree09fe1cbceab5d872590a81d43e81cf8e9c4e3f08 /nuttx/arch/arm/src/nuc1xx/nuc_config.h
parent0c1146c6ec030baaba0060e5121071d7f43fdccc (diff)
downloadpx4-nuttx-8acb89e0800041b91f88c01e241d60d2c19ae852.tar.gz
px4-nuttx-8acb89e0800041b91f88c01e241d60d2c19ae852.tar.bz2
px4-nuttx-8acb89e0800041b91f88c01e241d60d2c19ae852.zip
Finishes basic UART and serial console code for NUC120
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5661 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/nuc1xx/nuc_config.h')
-rw-r--r--nuttx/arch/arm/src/nuc1xx/nuc_config.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/nuc1xx/nuc_config.h b/nuttx/arch/arm/src/nuc1xx/nuc_config.h
index 5d175d5cd..31436958d 100644
--- a/nuttx/arch/arm/src/nuc1xx/nuc_config.h
+++ b/nuttx/arch/arm/src/nuc1xx/nuc_config.h
@@ -72,16 +72,19 @@
#ifndef CONFIG_NUC_UART0
# undef CONFIG_UART0_SERIAL_CONSOLE
+# undef CONFIG_UART0_FLOW_CONTROL
# undef CONFIG_UART0_IRDAMODE
# undef CONFIG_UART0_RS485MODE
#endif
#ifndef CONFIG_NUC_UART1
# undef CONFIG_UART1_SERIAL_CONSOLE
+# undef CONFIG_UART1_FLOW_CONTROL
# undef CONFIG_UART1_IRDAMODE
# undef CONFIG_UART1_RS485MODE
#endif
+#undef CONFIG_UART2_FLOW_CONTROL /* UART2 does not support flow control */
#ifndef CONFIG_NUC_UART2
# undef CONFIG_UART2_SERIAL_CONSOLE
# undef CONFIG_UART2_IRDAMODE
@@ -95,20 +98,20 @@
#if defined(CONFIG_UART0_SERIAL_CONSOLE)
# undef CONFIG_UART1_SERIAL_CONSOLE
# undef CONFIG_UART2_SERIAL_CONSOLE
-# define HAVE_CONSOLE 1
+# define HAVE_SERIAL_CONSOLE 1
#elif defined(CONFIG_UART1_SERIAL_CONSOLE)
# undef CONFIG_UART0_SERIAL_CONSOLE
# undef CONFIG_UART2_SERIAL_CONSOLE
-# define HAVE_CONSOLE 1
+# define HAVE_SERIAL_CONSOLE 1
#elif defined(CONFIG_UART2_SERIAL_CONSOLE)
# undef CONFIG_UART0_SERIAL_CONSOLE
# undef CONFIG_UART1_SERIAL_CONSOLE
-# define HAVE_CONSOLE 1
+# define HAVE_SERIAL_CONSOLE 1
#else
# undef CONFIG_UART0_SERIAL_CONSOLE
# undef CONFIG_UART1_SERIAL_CONSOLE
# undef CONFIG_UART2_SERIAL_CONSOLE
-# undef HAVE_CONSOLE
+# undef HAVE_SERIAL_CONSOLE
#endif
/************************************************************************************