mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
configs/lpcxpresso-lpc1768/nsh converted to use the kconfig-frontends tools
This commit is contained in:
@@ -6706,4 +6706,5 @@
|
|||||||
kconfig-frontends tools (2014-3-1).
|
kconfig-frontends tools (2014-3-1).
|
||||||
* configs/lincoln60/nsh: Configuration converted to use the
|
* configs/lincoln60/nsh: Configuration converted to use the
|
||||||
kconfig-frontends tools (2014-3-1).
|
kconfig-frontends tools (2014-3-1).
|
||||||
|
* configs/lpcxpresso-lpc1768/nsh: Configuration converted to use the
|
||||||
|
kconfig-frontends tools (2014-3-1).
|
||||||
|
|||||||
@@ -755,13 +755,25 @@ Where <subdir> is one of the following:
|
|||||||
nsh:
|
nsh:
|
||||||
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
||||||
Configuration enables both the serial and telnet NSH interfaces.
|
Configuration enables both the serial and telnet NSH interfaces.
|
||||||
Support for the board's SPI-based MicroSD card is included
|
|
||||||
(but not passing tests as of this writing).
|
|
||||||
|
|
||||||
NOTE: At present, the value for the SD SPI frequency is too
|
NOTES:
|
||||||
high and the SD will fail. Setting that frequency to 400000
|
|
||||||
removes the problem. TODO: Tune this frequency to some optimal
|
1. This configuration uses the mconf-based configuration tool. To
|
||||||
value.
|
change this 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.
|
||||||
|
|
||||||
|
2. This configuration has been used for testing the microSD card.
|
||||||
|
This support is, however, disabled in the base configuration.
|
||||||
|
|
||||||
|
At last attempt, the SPI-based mircroSD does not work at
|
||||||
|
higher fequencies. Setting the SPI frequency to 400000
|
||||||
|
removes the problem. There must be some more optimal
|
||||||
|
value that could be determined with additional experimetnation.
|
||||||
|
|
||||||
Jumpers: J55 must be set to provide chip select PIO1_11 signal as
|
Jumpers: J55 must be set to provide chip select PIO1_11 signal as
|
||||||
the SD slot chip select.
|
the SD slot chip select.
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/lpcxpresso-lpc1768/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
Reference in New Issue
Block a user