summaryrefslogtreecommitdiffstats
path: root/nuttx/Documentation/NuttShell.html
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 /nuttx/Documentation/NuttShell.html
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 'nuttx/Documentation/NuttShell.html')
-rw-r--r--nuttx/Documentation/NuttShell.html22
1 files changed, 19 insertions, 3 deletions
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index c2bc61cbb6..2d8b4722d7 100644
--- a/nuttx/Documentation/NuttShell.html
+++ b/nuttx/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
- <p>Last Updated: February 2, 2012</p>
+ <p>Last Updated: March 6, 2012</p>
</td>
</tr>
</table>
@@ -2179,8 +2179,24 @@ nsh>
<tr>
<td valign="top"><b><code>CONFIG_NSH_CONSOLE</code></b></td>
<td>
- If <code>CONFIG_NSH_CONSOLE</code> is set to <i>y</i>, then a serial
- console front-end is selected.
+ <p>
+ If <code>CONFIG_NSH_CONSOLE</code> is set to <i>y</i>, then a serial
+ console front-end is selected.
+ </p>
+ <p>
+ Normally, the serial console device is a UART and RS-232 interface.
+ However, if <code>CONFIG_USBDEV</code> is defined, then a USB serial device may, instead, be used if the one of the following are defined:
+ </p>
+ <ul>
+ <li>
+ <code>CONFIG_PL2303</code> and <code>CONFIG_PL2303_CONSOLE</code>.
+ Sets up the Prolifics PL2303 emulation as a console device at <code>/dev/console</code>.
+ </li>
+ <li>
+ <code>CONFIG_CDCACM</code> and <code>CONFIG_CDCACM_CONSOLE</code>.
+ Sets up the CDC/ACM serial device as a console device at <code>/dev/console</code>.
+ </li>
+ </ul>
</td>
</tr>
<tr>