configs/ea3131/pgnsh: Configuration converted to use the kconfig-frontends tools

This commit is contained in:
Gregory Nutt
2014-03-05 14:26:30 -06:00
parent 972eeae12d
commit 5c1d6d7580
5 changed files with 818 additions and 455 deletions
+7
View File
@@ -6880,3 +6880,10 @@
kconfig-frontends tools (2014-3-5) kconfig-frontends tools (2014-3-5)
* configs/ntosd-dm320/uip: Configuration converted to use the * configs/ntosd-dm320/uip: Configuration converted to use the
kconfig-frontends tools (2014-3-5) kconfig-frontends tools (2014-3-5)
* configs/ea3131/pgnsh: Configuration converted to use the
kconfig-frontends tools (2014-3-5)
* arch/Kconfig, arch/arm/Kconfig, configs/ea3131/Kconfig,
configs/ea3131/pgnsh/defconfig, configs/ea3131/src/up_fillpage.c,
configs/ea3152/Kconfig, nuttx/configs/ea3152/src/up_fillpage.c,
include/nuttx/page.h, and tools/cfgdefine.c: Add configuration
settings for the on-demand paging option (2014-3-5).
+35 -8
View File
@@ -603,17 +603,41 @@ ARM/EA3131-specific Configuration Options
Configurations Configurations
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Each EA3131 configuration is maintained in a sub-directory and can be Common Configuration Notes
selected as follow: --------------------------
1. Each EA3131 configuration is maintained in a sub-directory and
can be selected as follow:
cd tools cd tools
./configure.sh ea3131/<subdir> ./configure.sh ea3131/<subdir>
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.
2. These configurations use the mconf-based configuration tool. To
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 CodeSourcery toolchain
under Cygwin with Windows. This is easily reconfigured, however:
CONFIG_HOST_WINDOWS=y
CONFIG_WINDOWS_CYGWIN=y
CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y
Configuration Sub-Directories
-----------------------------
locked:
locked
This is not a configuration. When on-demand page is enabled This is not a configuration. When on-demand page is enabled
then we must do a two pass link: The first pass creates an then we must do a two pass link: The first pass creates an
intermediate object that has all of the code that must be intermediate object that has all of the code that must be
@@ -623,18 +647,21 @@ Where <subdir> is one of the following:
The directory contains the logic necessary to do the platform The directory contains the logic necessary to do the platform
specific first pass link for the EA313x. specific first pass link for the EA313x.
nsh: nsh
Configures the NuttShell (nsh) located at examples/nsh. The Configures the NuttShell (nsh) located at examples/nsh. The
Configuration enables only the serial NSH interface. Configuration enables only the serial NSH interface.
pgnsh: pgnsh
This is the same configuration as nsh, but with On-Demand This is the same configuration as nsh, but with On-Demand
paging enabled. See http://www.nuttx.org/NuttXDemandPaging.html. paging enabled. See http://www.nuttx.org/Documentation/NuttXDemandPaging.html.
This configuration is an experiment for the purposes of test This configuration is an experiment for the purposes of test
and debug. At present, this does not produce functioning, and debug. At present, this does not produce functioning,
usable system usable system
usbserial: usbserial
This configuration directory exercises the USB serial class This configuration directory exercises the USB serial class
driver at examples/usbserial. See examples/README.txt for driver at examples/usbserial. See examples/README.txt for
more information. more information.
-45
View File
@@ -1,45 +0,0 @@
############################################################################
# configs/ea3131/pgnsh/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
# The NSH library
CONFIGURED_APPS += system/readline
CONFIGURED_APPS += nshlib
File diff suppressed because it is too large Load Diff
+9 -4
View File
@@ -8,11 +8,14 @@ CONFIG_NUTTX_NEWCONFIG=y
# Build Setup # Build Setup
# #
# CONFIG_EXPERIMENTAL is not set # CONFIG_EXPERIMENTAL 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 is not set CONFIG_HOST_WINDOWS=y
# 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
@@ -106,8 +109,10 @@ CONFIG_ARCH_ROMPGTABLE=y
# ARM Configuration Options # ARM Configuration Options
# #
# CONFIG_ARM_TOOLCHAIN_BUILDROOT is not set # CONFIG_ARM_TOOLCHAIN_BUILDROOT is not set
CONFIG_ARM_TOOLCHAIN_CODESOURCERYL=y CONFIG_ARM_TOOLCHAIN_CODESOURCERYW=y
# 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 is not set
# CONFIG_ARM_TOOLCHAIN_GNU_OABI is not set # CONFIG_ARM_TOOLCHAIN_GNU_OABI is not set
CONFIG_ARCH_HAVE_EXTNAND=y CONFIG_ARCH_HAVE_EXTNAND=y
CONFIG_ARCH_HAVE_EXTDRAM=y CONFIG_ARCH_HAVE_EXTDRAM=y