diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-06 20:21:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-06 20:21:57 +0000 |
commit | 2cb26d0787b41ae1dc7607ef11ac11047491d7dc (patch) | |
tree | 0bfa100d6337879837dd6abf9612a0a7f889129b /apps/examples | |
parent | 829c1351e2be18265cd8ea8c481eec674192a6d5 (diff) | |
download | nuttx-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')
-rw-r--r-- | apps/examples/usbterm/usbterm_main.c | 4 |
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" /**************************************************************************** |