configs/mcu123-lpc214x/composite: Configuration converted to use the kconfig-frontends tools

This commit is contained in:
Gregory Nutt 2014-03-05 08:56:21 -06:00
parent d0bc71f9dc
commit f68d1da594
5 changed files with 685 additions and 418 deletions

View File

@ -6849,3 +6849,5 @@
kconfig-frontends tools (2014-3-5)
* configs/compal_e99/nsh_highram: Configuration converted to use the
kconfig-frontends tools (2014-3-5)
* configs/mcu123-lpc214x/composite: Configuration converted to use the
kconfig-frontends tools (2014-3-5)

View File

@ -320,39 +320,19 @@ ARM/LPC214X-specific Configuration Options
Configurations
^^^^^^^^^^^^^^
Each NXP LPC214x configuration is maintained in a sub-directory and
can be selected as follow:
1. Each NXP LPC214x configuration is maintained in a sub-directory and
can be selected as follow:
cd tools
./configure.sh mcu123-lpc214x/<subdir>
cd -
. ./setenv.sh
cd tools
./configure.sh mcu123-lpc214x/<subdir>
cd -
. ./setenv.sh
Where <subdir> is one of the following:
Where <subdir> is one of the configuration sub-directories described in
the following paragraph.
composite:
----------
A simple test of the USB Composite Device (see
apps/examples/README.txt and apps/system/composite)
Default toolchain: CodeSourcery for Windows
Output format: ELF and Intel HEX
NOTE: I could not get this to work! Perhaps this is a
consequence of the last USB driver checking (r4359). But
backing this change out did not fix the configuration.
nsh:
----
Configures the NuttShell (nsh) located at examples/nsh. The
Configuration enables only the serial NSH interfaces.
NOTES:
1. This configuration uses the mconf-based configuration tool. To
change this configuration using that tool, you should:
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/
@ -360,11 +340,28 @@ nsh:
b. Execute 'make menuconfig' in nuttx/ in order to start the
reconfiguration process.
2. Default platform/toolchain:
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 : Linux
CONFIG_ARM_TOOLCHAIN_GNU_EABIL=y : Buildroot (arm-nuttx-elf-gcc)
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
CONFIG_HOST_LINUX=y
CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
composite:
----------
A simple test of the USB Composite Device (see
apps/examples/README.txt and apps/system/composite)
NOTE: I could not get this to work! Perhaps this is a consequence of the
last USB driver checking (r4359). But backing this change out did not fix
the configuration.
nsh:
----
Configures the NuttShell (nsh) located at examples/nsh. The
Configuration enables only the serial NSH interfaces.
usbserial:
----------
@ -373,25 +370,8 @@ usbserial:
driver at examples/usbserial. See examples/README.txt for
more information.
NOTES:
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. Default platform/toolchain:
CONFIG_HOST_LINUX=y : Linux
CONFIG_ARM_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-eabi-gcc)
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
3. If you have problems with this configuration, perhaps it is a
consequence of the last USB driver checking (r4359)
NOTE: If you have problems with this configuration, perhaps it is a
consequence of the last USB driver checking (r4359)
usbmsc:
-------
@ -400,19 +380,5 @@ usbmsc:
class driver at system/usbmsc. See examples/README.txt for
more information.
NOTES:
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. Default toolchain: Buildroot
Output format: ELF and binary
3. If you have problems with this configuration, perhaps it is a
consequence of the last USB driver checking (r4359)
NOTE: If you have problems with this configuration, perhaps it is a
consequence of the last USB driver checking (r4359)

View File

@ -1,39 +0,0 @@
############################################################################
# configs/mcu123-lpc214x/composite/appconfig
#
# Copyright (C) 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 += system/composite

File diff suppressed because it is too large Load Diff

View File

@ -85,9 +85,11 @@ CONFIG_BOARD_LOOPSPERMSEC=3270
#
# ARM Configuration Options
#
# CONFIG_ARM_TOOLCHAIN_BUILDROOT is not set
CONFIG_ARM_TOOLCHAIN_BUILDROOT=y
# CONFIG_ARM_TOOLCHAIN_CODESOURCERYL is not set
CONFIG_ARM_TOOLCHAIN_GNU_EABIL=y
# CONFIG_ARM_TOOLCHAIN_GNU_EABIL is not set
# CONFIG_ARM_TOOLCHAIN_GNU_OABI is not set
# CONFIG_ARM_OABI_TOOLCHAIN is not set
#
# LPC214x Configuration Options