summaryrefslogtreecommitdiff
path: root/apps/system/cu/cu.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-13 13:11:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-13 13:11:06 -0600
commitcc3ccf9e7489b77759c0b2df64904f92719ab1e8 (patch)
tree0f9a1d0bf8d49f2a8ea61f3651b589e101df78ad /apps/system/cu/cu.h
parentfef451758ac702e7c859cc7ccc473333711eb4af (diff)
downloadnuttx-cc3ccf9e7489b77759c0b2df64904f92719ab1e8.tar.gz
nuttx-cc3ccf9e7489b77759c0b2df64904f92719ab1e8.tar.bz2
nuttx-cc3ccf9e7489b77759c0b2df64904f92719ab1e8.zip
apps/system/cu: Add a some configurable defaults (only to reduce my keystrokes in repetitive testing)
Diffstat (limited to 'apps/system/cu/cu.h')
-rw-r--r--apps/system/cu/cu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/system/cu/cu.h b/apps/system/cu/cu.h
index 98b656f72..768efa87c 100644
--- a/apps/system/cu/cu.h
+++ b/apps/system/cu/cu.h
@@ -49,6 +49,15 @@
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
+/* Configuration ***********************************************************/
+
+#ifndef CONFIG_SYSTEM_CUTERM_DEFAULT_DEVICE
+# define CONFIG_SYSTEM_CUTERM_DEFAULT_DEVICE "/dev/ttyS0"
+#endif
+
+#ifndef CONFIG_SYSTEM_CUTERM_DEFAULT_BAUD
+# define CONFIG_SYSTEM_CUTERM_DEFAULT_BAUD 115200
+#endif
/****************************************************************************
* Public Types