mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
configs/olimex-strp711/nsh: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
@@ -372,18 +372,22 @@ ENC28J60 Module
|
|||||||
the ENC28J60 (And I don't have the correct wall wart to power the
|
the ENC28J60 (And I don't have the correct wall wart to power the
|
||||||
the board).
|
the board).
|
||||||
|
|
||||||
Configurations:
|
Common Configuration Notes:
|
||||||
---------------
|
---------------------------
|
||||||
|
|
||||||
nettest:
|
1. Each Olimex STRP711 configuration is maintained in a sub-directory and
|
||||||
This configuration directory may be used to enable networking using the
|
can be selected as follow:
|
||||||
an Microchip ENC28J60 SPI Ethernet module (see above for connection to
|
|
||||||
STR-P711).
|
|
||||||
|
|
||||||
NOTES:
|
cd tools
|
||||||
|
./configure.sh olimex-strp711/<subdir>
|
||||||
|
cd -
|
||||||
|
. ./setenv.sh
|
||||||
|
|
||||||
1. This configuration uses the mconf-based configuration tool. To
|
Where <subdir> is one of the configuration sub-directories described in
|
||||||
change this configurations using that tool, you should:
|
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
|
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||||
and misc/tools/
|
and misc/tools/
|
||||||
@@ -391,6 +395,21 @@ Configurations:
|
|||||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
reconfiguration process.
|
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:
|
||||||
|
This configuration directory may be used to enable networking using the
|
||||||
|
an Microchip ENC28J60 SPI Ethernet module (see above for connection to
|
||||||
|
STR-P711).
|
||||||
|
|
||||||
nsh:
|
nsh:
|
||||||
Configures the NuttShell (nsh) located at examples/nsh. The
|
Configures the NuttShell (nsh) located at examples/nsh. The
|
||||||
Configuration enables both the serial and telnetd NSH interfaces.
|
Configuration enables both the serial and telnetd NSH interfaces.
|
||||||
@@ -432,4 +451,3 @@ STR71x-Specific Configuration Settings
|
|||||||
CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8.
|
CONFIG_UARTn_BITS - The number of bits. Must be either 7 or 8.
|
||||||
CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0
|
CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity, 3=mark 1, 4=space 0
|
||||||
CONFIG_UARTn_2STOP - Two stop bits
|
CONFIG_UARTn_2STOP - Two stop bits
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/olimex-strp711/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
|
|
||||||
|
|
||||||
# The NSH library
|
|
||||||
|
|
||||||
CONFIGURED_APPS += system/readline
|
|
||||||
CONFIGURED_APPS += nshlib
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user