aboutsummaryrefslogtreecommitdiff
path: root/apps/examples/usbterm/usbterm_main.c
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
commit0a89a8ade31da10e9349ef6e4a536230069793a8 (patch)
tree0bfa100d6337879837dd6abf9612a0a7f889129b /apps/examples/usbterm/usbterm_main.c
parent29772a34325f6fdea1a1cc9f6f2eeb691cc2084c (diff)
downloadpx4-firmware-0a89a8ade31da10e9349ef6e4a536230069793a8.tar.gz
px4-firmware-0a89a8ade31da10e9349ef6e4a536230069793a8.tar.bz2
px4-firmware-0a89a8ade31da10e9349ef6e4a536230069793a8.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: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4458 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/usbterm/usbterm_main.c')
-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"
/****************************************************************************