summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/netutils/resolv/Kconfig6
-rw-r--r--apps/nshlib/README.txt4
-rw-r--r--nuttx/Documentation/NuttShell.html8
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html34
-rw-r--r--nuttx/configs/README.txt21
5 files changed, 70 insertions, 3 deletions
diff --git a/apps/netutils/resolv/Kconfig b/apps/netutils/resolv/Kconfig
index a8e79d6c1..07a0fd4bc 100644
--- a/apps/netutils/resolv/Kconfig
+++ b/apps/netutils/resolv/Kconfig
@@ -21,6 +21,6 @@ config NET_RESOLV_MAXRESPONSE
default 96
depends on NETUTILS_RESOLV
---help---
- This setting determines the maximum size of DHCP response message that
- can be received. The default is 96 but may need to be larger on enterprise
- networks (perhaps 176).
+ This setting determines the maximum size of response message that can be
+ received by the DNS resolver. The default is 96 but may need to be larger on
+ enterprise networks (perhaps 176).
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index 0f6aee759..9f4a88e3e 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -1084,6 +1084,10 @@ NSH-Specific Configuration Settings
Set if your ethernet hardware has no built-in MAC address.
If set, a bogus MAC will be assigned.
+ * CONFIG_NSH_MAX_ROUNDTRIP
+ This is the maximum round trip for a response to a ICMP ECHO request.
+ It is in units of deciseconds. The default is 20 (2 seconds).
+
If you use DHCPC, then some special configuration network options are
required. These include:
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index bcf62a5a9..ad204f5dc 100644
--- a/nuttx/Documentation/NuttShell.html
+++ b/nuttx/Documentation/NuttShell.html
@@ -2559,6 +2559,13 @@ nsh>
If set, a bogus MAC will be assigned.
</td>
</tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_MAX_ROUNDTRIP</code></b></td>
+ <td>
+ This is the maximum round trip for a response to a ICMP ECHO request.
+ It is in units of deciseconds. The default is 20 (2 seconds).
+ </td>
+ </tr>
</table></center>
<p>
@@ -3537,6 +3544,7 @@ mount -t vfat /dev/ram1 /tmp
<li><a href="#nshconfiguration"><code>CONFIG_NSH_IOBUFFER_SIZE</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_IPADDR</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_LINELEN</code></a></li>
+ <li><a href="#nshconfiguration"><code>CONFIG_NSH_MAX_ROUNDTRIP</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_NESTDEPTH</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_NETMASK</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_NOMAC</code></a></li>
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index bf2a0cc4f..a16032db5 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4445,6 +4445,35 @@ build
<code>CONFIG_ARCH_BZERO</code>
</p></ul>
+<p><li>
+ If <code>CONFIG_ARCH_MEMCPY</code> is <b>not</b> selected, then you make also select Daniel
+ Vik's optimized implementation of <code>memcpy()</code>:
+</p>
+ <ul><li>
+ <code>CONFIG_MEMCPY_VIK</code>:
+ Select this option to use the optimized <code>memcpy()</code> function by Daniel Vik.
+ See licensing information in the top-level <code>COPYING</code> file.
+ Default: <code>n</code>.
+ </li></ul>
+
+<p>
+ And if <code>CONFIG_MEMCPY_VIK</code>, the following tuning options are available:
+</p>
+<ul><li>
+ <code>CONFIG_MEMCPY_PRE_INC_PTRS</code>:
+ Use pre-increment of pointers.
+ Default is post increment of pointers.
+</li>
+<li>
+ <code>CONFIG_MEMCPY_INDEXED_COPY</code>
+ Copying data using array indexing.
+ Using this option, disables the <code>CONFIG_MEMCPY_PRE_INC_PTRS</code> option.
+</li>
+<li>
+ <code>CONFIG_MEMCPY_64BIT</code>:
+ Compiles memcpy for 64 bit architectures
+</li></ul>
+
<li>
<p>
The architecture may provide custom versions of certain standard header files:
@@ -5180,6 +5209,11 @@ build
<li>
<code>CONFIG_NET_RESOLV_ENTRIES</code>: Number of resolver entries
</li>
+ <li>
+ <code>CONFIG_NET_RESOLV_MAXRESPONSE</code>:
+ This setting determines the maximum size of response message that can be received by the DNS resolver.
+ The default is 96 but may need to be larger on enterprise networks (perhaps 176).
+ </li>
</ul>
<h3>THTTPD</h3>
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index e6bde645d..cc65540d7 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -621,6 +621,23 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_ARCH_STRNCPY, CONFIG_ARCH_STRLEN, CONFIG_ARCH_STRNLEN
CONFIG_ARCH_BZERO
+ If CONFIG_ARCH_MEMCPY is not selected, then you make also select Daniel
+ Vik's optimized implementation of memcpy():
+
+ CONFIG_MEMCPY_VIK - Select this option to use the optimized memcpy()
+ function by Daniel Vik. See licensing information in the top-level
+ COPYING file. Default: n
+
+ And if CONFIG_MEMCPY_VIK, the following tuning options are available:
+
+ CONFIG_MEMCPY_PRE_INC_PTRS - Use pre-increment of pointers. Default is
+ post increment of pointers.
+
+ CONFIG_MEMCPY_INDEXED_COPY - Copying data using array indexing. Using
+ this option, disables the CONFIG_MEMCPY_PRE_INC_PTRS option.
+
+ CONFIG_MEMCPY_64BIT - Compiles memcpy for 64 bit architectures
+
The architecture may provide custom versions of certain standard header
files:
@@ -1078,6 +1095,10 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_NET_DHCP_LIGHT - Reduces size of DHCP
CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries
+ CONFIG_NET_RESOLV_MAXRESPONSE - This setting determines the maximum
+ size of response message that can be received by the DNS resolver.
+ The default is 96 but may need to be larger on enterprise networks
+ (perhaps 176).
THTTPD