summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttShell.html
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 /nuttx/Documentation/NuttShell.html
parent829c1351e2be18265cd8ea8c481eec674192a6d5 (diff)
downloadpx4-nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.gz
px4-nuttx-2cb26d0787b41ae1dc7607ef11ac11047491d7dc.tar.bz2
px4-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 '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 c2bc61cbb..2d8b4722d 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>