diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 89318909641..071214af8f9 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -3007,8 +3007,8 @@ set FOOBAR ABC_${FOO}_${BAR}
CONFIG_NSH_USBCONSOLE.
If defined, then the an arbitrary USB device may be used to as the NSH console.
- In this case, CONFIG_NSH_CONDEV must be defined to indicate which USB device to use as the console.
- The advantage of using a device other that /dev/console is that normal debug output can not use /dev/console while NSH uses CONFIG_NSH_USBCONDEV.
+ In this case, CONFIG_NSH_USBCONDEV must be defined to indicate which USB device to use as the console.
+ The advantage of using a device other that /dev/console is that normal debug output can then use /dev/console while NSH uses CONFIG_NSH_USBCONDEV.
CONFIG_NSH_USBCONDEV.
If CONFIG_NSH_USBCONSOLE is set to 'y', then CONFIG_NSH_USBCONDEV must also be set to select the USB device used to support the NSH console.
@@ -3053,20 +3053,29 @@ set FOOBAR ABC_${FOO}_${BAR}
CONFIG_NSH_CONDEVCONFIG_NSH_ALTCONDEV and CONFIG_NSH_CONDEVCONFIG_NSH_CONSOLE is set to y, then CONFIG_NSH_CONDEV
- may also be set to select the serial device used to support the NSH console.
- This should be set to the quoted name of a readable/write-able character driver such as:
+ If CONFIG_NSH_CONSOLE is set to y, then CONFIG_NSH_ALTCONDEV
+ may also be selected to enable use of an alternate character device to support the NSH console.
+ If CONFIG_NSH_ALTCONDEV is selected, then CONFIG_NSH_CONDEV holds the quoted name of a readable/write-able character driver such as:
CONFIG_NSH_CONDEV="/dev/ttyS1".
This is useful, for example, to separate the NSH command line from the system console
when the system console is used to provide debug output.
Default: stdin and stdout (probably "/dev/console")
/dev/console is used for a user interface,
- (1) linefeeds (\n) will not be expanded to carriage return / linefeeds (\r\n).
- You will need to configure your terminal program to account for this.
- And (2) input is not automatically echoed so you will have to turn local echo on.
+ /dev/console is used for a user interface,
+ (1) linefeeds (\n) will not be expanded to carriage return / linefeeds (\r\n).
+ You will need to configure your terminal program to account for this.
+ And (2) input is not automatically echoed so you will have to turn local echo on.
+