From dbb431dd8a2f24d041d0d22e378f73e4e547ffa1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Feb 2012 16:04:09 +0000 Subject: [PATCH] NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttShell.html | 56 ++++++++++++++++++++++++++++++------ 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 73bb1bf658..c2bc61cbb6 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -8,7 +8,7 @@

NuttShell (NSH)

-

Last Updated: September 1, 2011

+

Last Updated: February 2, 2012

@@ -2131,13 +2131,6 @@ nsh> Default: 80 - - CONFIG_NSH_STACKSIZE - - The stack size to use when spawning new threads or tasks. Such - new threads are generated when a command is executed in background - or as new TELNET connections are established. - CONFIG_NSH_NESTDEPTH @@ -2227,6 +2220,52 @@ nsh> +

+ If Telnet is selected for the NSH console, then we must configure + the resources used by the Telnet daemon and by the Telnet clients. +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ConfigurationDescription
CONFIG_NSH_TELNETD_PORT + The telnet daemon will listen on this TCP port number for connections. Default: 23 +
CONFIG_NSH_TELNETD_DAEMONPRIO + Priority of the Telnet daemon. + Default: SCHED_PRIORITY_DEFAULT +
CONFIG_NSH_TELNETD_DAEMONSTACKSIZE + Stack size allocated for the + Telnet daemon. Default: 2048 +
CONFIG_NSH_TELNETD_CLIENTPRIO + Priority of the Telnet client. + Default: SCHED_PRIORITY_DEFAULT +
CONFIG_NSH_TELNETD_CLIENTSTACKSIZE + Stack size allocated for the Telnet client. Default: 2048 +
+

One or both of CONFIG_NSH_CONSOLE and CONFIG_NSH_TELNET must be defined. If CONFIG_NSH_TELNET is selected, then there some @@ -2457,7 +2496,6 @@ nsh>

  • CONFIG_NSH_ARCHROMFS
  • CONFIG_NSH_ROMFSMOUNTPT
  • CONFIG_NSH_ROMFSSECTSIZE
  • -
  • CONFIG_NSH_STACKSIZE
  • CONFIG_NSH_STRERROR
  • CONFIG_NSH_TELNET
  • Configuration settings