summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-06 20:21:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-06 20:21:57 +0000
commit2cb26d0787b41ae1dc7607ef11ac11047491d7dc (patch)
tree0bfa100d6337879837dd6abf9612a0a7f889129b /apps/examples/usbterm
parent829c1351e2be18265cd8ea8c481eec674192a6d5 (diff)
downloadnuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.gz
nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.bz2
nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.zip
Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/usbterm')
-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 b1b6dc34a..6e8e68412 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"
/****************************************************************************