summaryrefslogtreecommitdiffstats
path: root/apps/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-03-06 20:21:57 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-03-06 20:21:57 +0000
commitadcb07f98c2ef70cb1b77a020a06d33a393a7c66 (patch)
tree0bfa100d6337879837dd6abf9612a0a7f889129b /apps/examples
parent38977bb0c428bb60df5d8837d46a30e0d6093347 (diff)
Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4458 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/usbterm/usbterm_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/usbterm/usbterm_main.c b/apps/examples/usbterm/usbterm_main.c
index b1b6dc34a2..6e8e68412e 100644
--- a/apps/examples/usbterm/usbterm_main.c
+++ b/apps/examples/usbterm/usbterm_main.c
@@ -59,6 +59,10 @@
# include <nuttx/usb/cdcacm.h>
#endif
+#ifdef CONFIG_CDCACM
+# include <nuttx/usb/pl2303.h>
+#endif
+
#include "usbterm.h"
/****************************************************************************