mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
configs/ntosd-dm320/nettest: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
@@ -282,52 +282,68 @@ ARM/DM320-specific Configuration Options
|
|||||||
Configurations
|
Configurations
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Each Neuros OSD configuration is maintained in a sub-directory and
|
Common Configuration Notes
|
||||||
can be selected as follow:
|
--------------------------
|
||||||
|
|
||||||
cd tools
|
1. Each Neuros OSD configuration is maintained in a sub-directory and
|
||||||
./configure.sh ntosd-dm320/<subdir>
|
can be selected as follow:
|
||||||
cd -
|
|
||||||
. ./setenv.sh
|
|
||||||
|
|
||||||
Where <subdir> is one of the following:
|
cd tools
|
||||||
|
./configure.sh ntosd-dm320/<subdir>
|
||||||
|
cd -
|
||||||
|
. ./setenv.sh
|
||||||
|
|
||||||
nettest
|
Where <subdir> is one of the configuration sub-directories described in
|
||||||
^^^^^^^
|
the following paragraph.
|
||||||
|
|
||||||
This alternative configuration directory may be used to
|
2. These configurations use the mconf-based configuration tool. To
|
||||||
enable networking using the OSDs DM9000A Ethernet interface.
|
change a configurations using that tool, you should:
|
||||||
It uses examples/nettest to excercise the TCP/IP network.
|
|
||||||
|
|
||||||
nsh
|
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||||
^^^
|
and misc/tools/
|
||||||
|
|
||||||
Configures the NuttShell (nsh) located at examples/nsh. The
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
Configuration enables both the serial and telnetd NSH interfaces.
|
reconfiguration process.
|
||||||
|
|
||||||
poll
|
3. By default, all configurations assume the CodeSourcery toolchain under
|
||||||
^^^^
|
Linux. This is easily reconfigured:
|
||||||
|
|
||||||
This configuration exercises the poll()/select() text at
|
CONFIG_HOST_LINUX=y
|
||||||
examples/poll
|
CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y
|
||||||
|
|
||||||
thttpd
|
Configuration Sub-Directories
|
||||||
^^^^^^
|
-----------------------------
|
||||||
|
|
||||||
This builds the THTTPD web server example using the THTTPD and
|
nettest
|
||||||
the examples/thttpd application.
|
|
||||||
|
|
||||||
udp
|
This alternative configuration directory may be used to
|
||||||
^^^
|
enable networking using the OSDs DM9000A Ethernet interface.
|
||||||
|
It uses examples/nettest to excercise the TCP/IP network.
|
||||||
|
|
||||||
This alternative configuration directory is similar to nettest
|
nsh
|
||||||
except that is use examples/upd to exercise UDP.
|
|
||||||
|
|
||||||
uip
|
Configures the NuttShell (nsh) located at examples/nsh. The
|
||||||
^^^
|
Configuration enables both the serial and telnetd NSH interfaces.
|
||||||
|
|
||||||
This configuration file demonstrates the tiny webserver
|
poll
|
||||||
at examples/uip.
|
|
||||||
|
This configuration exercises the poll()/select() text at
|
||||||
|
examples/poll
|
||||||
|
|
||||||
|
thttpd
|
||||||
|
|
||||||
|
This builds the THTTPD web server example using the THTTPD and
|
||||||
|
the examples/thttpd application.
|
||||||
|
|
||||||
|
udp
|
||||||
|
|
||||||
|
This alternative configuration directory is similar to nettest
|
||||||
|
except that is use examples/upd to exercise UDP.
|
||||||
|
|
||||||
|
uip
|
||||||
|
|
||||||
|
This configuration file demonstrates the tiny webserver
|
||||||
|
at examples/uip.
|
||||||
|
|
||||||
Configuration Options
|
Configuration Options
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/ntosd-dm320/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
|
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user