mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
configs/sim/nettest: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
@@ -6768,3 +6768,5 @@
|
|||||||
kconfig-frontends tools (2014-3-3).
|
kconfig-frontends tools (2014-3-3).
|
||||||
* configs/stm3240g-eval/nettest: Configuration converted to use the
|
* configs/stm3240g-eval/nettest: Configuration converted to use the
|
||||||
kconfig-frontends tools (2014-3-3).
|
kconfig-frontends tools (2014-3-3).
|
||||||
|
* configs/sim/nettest: Configuration converted to use the kconfig-frontends
|
||||||
|
tools (2014-3-3).
|
||||||
|
|||||||
+20
-10
@@ -277,7 +277,17 @@ nettest
|
|||||||
./configure.sh sim/nettest
|
./configure.sh sim/nettest
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
- The NuttX network is not, however, functional on the Linux TAP
|
------
|
||||||
|
1. This configuration uses the mconf-based configuration tool. To
|
||||||
|
change this configuration using that tool, you should:
|
||||||
|
|
||||||
|
a. Build and install the kconfig mconf tool. See nuttx/README.txt
|
||||||
|
and misc/tools/
|
||||||
|
|
||||||
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
|
reconfiguration process.
|
||||||
|
|
||||||
|
2. The NuttX network is not, however, functional on the Linux TAP
|
||||||
device yet.
|
device yet.
|
||||||
|
|
||||||
UPDATE: The TAP device does apparently work according to a NuttX
|
UPDATE: The TAP device does apparently work according to a NuttX
|
||||||
@@ -286,16 +296,16 @@ nettest
|
|||||||
waiting from input from the host OS). My failure to get the TAP
|
waiting from input from the host OS). My failure to get the TAP
|
||||||
device working appears to have been a cockpit error.
|
device working appears to have been a cockpit error.
|
||||||
|
|
||||||
- As of NuttX-5.18, when built on Windows, this test does not try
|
3. As of NuttX-5.18, when built on Windows, this test does not try
|
||||||
to use the TAP device (which is not available on Cygwin anyway),
|
to use the TAP device (which is not available on Cygwin anyway),
|
||||||
but inside will try to use the Cygwin WPCAP library. Only the
|
but inside will try to use the Cygwin WPCAP library. Only the
|
||||||
most preliminary testing has been performed with the Cygwin WPCAP
|
most preliminary testing has been performed with the Cygwin WPCAP
|
||||||
library, however.
|
library, however.
|
||||||
|
|
||||||
NOTE that the IP address is hard-coded in arch/sim/src/up_wpcap.c.
|
NOTE that the IP address is hard-coded in arch/sim/src/up_wpcap.c.
|
||||||
You will either need to edit your configuration files to use 10.0.0.1
|
You will either need to edit your configuration files to use 10.0.0.1
|
||||||
on the "target" (CONFIG_EXAMPLES_NETTEST_*) or edit up_wpcap.c to
|
on the "target" (CONFIG_EXAMPLES_NETTEST_*) or edit up_wpcap.c to
|
||||||
select the IP address that you want to use.
|
select the IP address that you want to use.
|
||||||
|
|
||||||
nsh
|
nsh
|
||||||
|
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/sim/nettest/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
# Path to example in apps/examples containing the user_start entry point
|
|
||||||
|
|
||||||
CONFIGURED_APPS += examples/nettest
|
|
||||||
|
|
||||||
|
|
||||||
# Networking support
|
|
||||||
|
|
||||||
CONFIGURED_APPS += netutils/uiplib
|
|
||||||
+578
-184
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user