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
This commit is contained in:
patacongo
2012-03-06 20:21:57 +00:00
parent 8660703aa2
commit e8c43f0463
6 changed files with 45 additions and 4 deletions

View File

@@ -105,7 +105,8 @@ int nsh_consolemain(int argc, char *argv[])
*/
#ifdef HAVE_USB_CONSOLE
DEBUGASSERT(nsh_usbconsole() == OK);
ret = nsh_usbconsole();
DEBUGASSERT(ret == OK);
#endif
/* Present a greeting */