configs/c5471evm/nsh: Configuration converted to use the kconfig-frontends tools

This commit is contained in:
Gregory Nutt
2014-03-05 08:00:35 -06:00
parent 17252933da
commit c9b37f85dd
5 changed files with 766 additions and 306 deletions
+2
View File
@@ -6843,3 +6843,5 @@
kconfig-frontends tools (2014-3-4) kconfig-frontends tools (2014-3-4)
* configs/olimex-lpc1766stk/slip-httpd: Configuration converted to use the * configs/olimex-lpc1766stk/slip-httpd: Configuration converted to use the
kconfig-frontends tools (2014-3-4) kconfig-frontends tools (2014-3-4)
* configs/c5471evm/nsh: Configuration converted to use the
kconfig-frontends tools (2014-3-5)
+26 -10
View File
@@ -112,10 +112,13 @@ ARM/C5471-specific Configuration Options
CONFIG_C5471_BASET100 CONFIG_C5471_BASET100
CONFIG_C5471_BASET10 CONFIG_C5471_BASET10
Configuration Sub-Directories Configurations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Each STM3240G-EVAL configuration is maintained in a sub-directory and Common Configuration Notes
--------------------------
1. Each C5471 configuration is maintained in a sub-directory and
can be selected as follow: can be selected as follow:
cd tools cd tools
@@ -123,25 +126,38 @@ can be selected as follow:
cd - cd -
. ./setenv.sh . ./setenv.sh
Where <subdir> is one of the following. Where <subdir> is one of the configuration sub-directories described in
the following paragraph.
By default, all configurations assume the NuttX Buildroot toolchain under 2. These configurations use the mconf-based configuration tool. To
Linux (should work under Windows with Cygwin as well). change a configurations 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.
3. By default, all configurations assume the NuttX Buildroot toolchain
under Linux (should work under Windows with Cygwin as well). This
is easily reconfigured:
CONFIG_HOST_LINUX=y
CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
Configuration Sub-Directories
-----------------------------
nettest nettest
-------
This configuration enables networking using the c5471's built-in Ethernet This configuration enables networking using the c5471's built-in Ethernet
interface. It uses examples/nettest to exercise the TCP/IP network. interface. It uses examples/nettest to exercise the TCP/IP network.
nsh nsh
---
This configuration file builds NSH (examples/nsh) using the TELNET server This configuration file builds NSH (examples/nsh) using the TELNET server
front end front end
httpd httpd
-----
This configuration uses the tiny webserver for uiP. This configuration uses the tiny webserver for uiP.
+5 -10
View File
@@ -9,14 +9,10 @@ CONFIG_NUTTX_NEWCONFIG=y
# #
# CONFIG_EXPERIMENTAL is not set # CONFIG_EXPERIMENTAL is not set
# CONFIG_DEFAULT_SMALL is not set # CONFIG_DEFAULT_SMALL is not set
# CONFIG_HOST_LINUX is not set CONFIG_HOST_LINUX=y
# CONFIG_HOST_OSX is not set # CONFIG_HOST_OSX is not set
CONFIG_HOST_WINDOWS=y # CONFIG_HOST_WINDOWS is not set
# CONFIG_HOST_OTHER is not set # CONFIG_HOST_OTHER is not set
# CONFIG_WINDOWS_NATIVE is not set
CONFIG_WINDOWS_CYGWIN=y
# CONFIG_WINDOWS_MSYS is not set
# CONFIG_WINDOWS_OTHER is not set
# #
# Build Configuration # Build Configuration
@@ -108,12 +104,11 @@ CONFIG_ARCH_HAVE_LOWVECTORS=y
# #
# ARM Configuration Options # ARM Configuration Options
# #
# CONFIG_ARM_TOOLCHAIN_BUILDROOT is not set CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
# CONFIG_ARM_TOOLCHAIN_CODESOURCERYW is not set # CONFIG_ARM_TOOLCHAIN_CODESOURCERYL is not set
# CONFIG_ARM_TOOLCHAIN_DEVKITARM is not set
# CONFIG_ARM_TOOLCHAIN_GNU_EABIL is not set # CONFIG_ARM_TOOLCHAIN_GNU_EABIL is not set
CONFIG_ARM_TOOLCHAIN_GNU_EABIW=y
# CONFIG_ARM_TOOLCHAIN_GNU_OABI is not set # CONFIG_ARM_TOOLCHAIN_GNU_OABI is not set
# CONFIG_ARM_OABI_TOOLCHAIN is not set
# #
# C5471 Configuration Options # C5471 Configuration Options
-58
View File
@@ -1,58 +0,0 @@
############################################################################
# configs/c5471evm/nsh/appconfig
#
# Copyright (C) 2011-2012 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/nsh
# NSH library
CONFIGURED_APPS += system/readline
CONFIGURED_APPS += nshlib
# Networking support
ifeq ($(CONFIG_NET),y)
CONFIGURED_APPS += netutils/uiplib
CONFIGURED_APPS += netutils/dhcpc
CONFIGURED_APPS += netutils/resolv
CONFIGURED_APPS += netutils/tftpc
CONFIGURED_APPS += netutils/webclient
ifeq ($(CONFIG_NSH_TELNET),y)
CONFIGURED_APPS += netutils/telnetd
endif
endif
File diff suppressed because it is too large Load Diff