mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:23:33 +08:00
Update documentation for recently added configuration options
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5241 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -21,6 +21,6 @@ config NET_RESOLV_MAXRESPONSE
|
|||||||
default 96
|
default 96
|
||||||
depends on NETUTILS_RESOLV
|
depends on NETUTILS_RESOLV
|
||||||
---help---
|
---help---
|
||||||
This setting determines the maximum size of DHCP response message that
|
This setting determines the maximum size of response message that can be
|
||||||
can be received. The default is 96 but may need to be larger on enterprise
|
received by the DNS resolver. The default is 96 but may need to be larger on
|
||||||
networks (perhaps 176).
|
enterprise networks (perhaps 176).
|
||||||
|
|||||||
@@ -1084,6 +1084,10 @@ NSH-Specific Configuration Settings
|
|||||||
Set if your ethernet hardware has no built-in MAC address.
|
Set if your ethernet hardware has no built-in MAC address.
|
||||||
If set, a bogus MAC will be assigned.
|
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
|
If you use DHCPC, then some special configuration network options are
|
||||||
required. These include:
|
required. These include:
|
||||||
|
|
||||||
|
|||||||
@@ -2559,6 +2559,13 @@ nsh>
|
|||||||
If set, a bogus MAC will be assigned.
|
If set, a bogus MAC will be assigned.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
</table></center>
|
||||||
|
|
||||||
<p>
|
<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_IOBUFFER_SIZE</code></a></li>
|
||||||
<li><a href="#nshconfiguration"><code>CONFIG_NSH_IPADDR</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_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_NESTDEPTH</code></a></li>
|
||||||
<li><a href="#nshconfiguration"><code>CONFIG_NSH_NETMASK</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>
|
<li><a href="#nshconfiguration"><code>CONFIG_NSH_NOMAC</code></a></li>
|
||||||
|
|||||||
@@ -4445,6 +4445,35 @@ build
|
|||||||
<code>CONFIG_ARCH_BZERO</code>
|
<code>CONFIG_ARCH_BZERO</code>
|
||||||
</p></ul>
|
</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>
|
<li>
|
||||||
<p>
|
<p>
|
||||||
The architecture may provide custom versions of certain standard header files:
|
The architecture may provide custom versions of certain standard header files:
|
||||||
@@ -5180,6 +5209,11 @@ build
|
|||||||
<li>
|
<li>
|
||||||
<code>CONFIG_NET_RESOLV_ENTRIES</code>: Number of resolver entries
|
<code>CONFIG_NET_RESOLV_ENTRIES</code>: Number of resolver entries
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
|
|
||||||
<h3>THTTPD</h3>
|
<h3>THTTPD</h3>
|
||||||
|
|||||||
@@ -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_STRNCPY, CONFIG_ARCH_STRLEN, CONFIG_ARCH_STRNLEN
|
||||||
CONFIG_ARCH_BZERO
|
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
|
The architecture may provide custom versions of certain standard header
|
||||||
files:
|
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_DHCP_LIGHT - Reduces size of DHCP
|
||||||
CONFIG_NET_RESOLV_ENTRIES - Number of resolver entries
|
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
|
THTTPD
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user