configs/mirtoo/nxffs converted to use the kconfig-frontends

This commit is contained in:
Gregory Nutt
2014-03-02 09:05:07 -06:00
parent b69d740b2e
commit 1aba98dcaa
4 changed files with 876 additions and 579 deletions
+2
View File
@@ -6741,4 +6741,6 @@
kconfig-frontends tools (2014-3-2). kconfig-frontends tools (2014-3-2).
* configs/stm3210e-eval/nx: Configuration converted to use the * configs/stm3210e-eval/nx: Configuration converted to use the
kconfig-frontends tools (2014-3-2). kconfig-frontends tools (2014-3-2).
* configs/mirtoo/nxffs: Configuration converted to use the kconfig-frontends
tools (2014-3-1).
+34 -26
View File
@@ -859,8 +859,8 @@ selected as follow:
Where <subdir> is one of the following: Where <subdir> is one of the following:
nsh: nsh
====
This configuration directory holds configuration files tht can This configuration directory holds configuration files tht can
be used to support the NuttShell (NSH). This configuration use be used to support the NuttShell (NSH). This configuration use
UART1 which is available on FUNC 4 and 5 on connector X3: UART1 which is available on FUNC 4 and 5 on connector X3:
@@ -896,29 +896,38 @@ Where <subdir> is one of the following:
path to the toolchain in setenv.sh. See notes above with regard to path to the toolchain in setenv.sh. See notes above with regard to
the XC32 toolchain. the XC32 toolchain.
PGA117 Support: 4. PGA117 Support
--------------
The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration The Mirtoo's PGA117 amplifier/multiplexer is not used by this configuration
but can be enabled by setting: but can be enabled by setting:
CONFIG_ADC=y : Enable support for analog input devices CONFIG_ADC=y : Enable support for analog input devices
CONFIG_SPI_OWNBUS=y : If the PGA117 is the only device on the bus CONFIG_SPI_OWNBUS=y : If the PGA117 is the only device on the bus
CONFIG_ADC_PGA11X=y : Enable support for the PGA117 CONFIG_ADC_PGA11X=y : Enable support for the PGA117
nxffs: nxffs
======
This is a configuration very similar to the nsh configuration. This This is a configuration very similar to the nsh configuration. This
configure also provides the NuttShell (NSH). And this configuration use configure also provides the NuttShell (NSH). And this configuration use
UART1 which is available on FUNC 4 and 5 on connector X3 (as described UART1 which is available on FUNC 4 and 5 on connector X3 (as described
for the nsh configuration). This configuration differs from the nsh for the nsh configuration). This configuration differs from the nsh
configuration in the following ways: configuration in the following ways:
1) It uses the Pinguino toolchain be default (this is easily changed, 1. This configuration uses the mconf-based configuration tool. To
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. It uses the Pinguino toolchain be default (this is easily changed,
see above). see above).
CONFIG_MIPS32_TOOLCHAIN_PINGUINOW=y CONFIG_MIPS32_TOOLCHAIN_PINGUINOW=y
2) SPI2 is enabled and support is included for the NXFFS file system 3. SPI2 is enabled and support is included for the NXFFS file system
on the 32Mbit SST25 device on the Mirtoo board. NXFFS is the NuttX on the 32Mbit SST25 device on the Mirtoo board. NXFFS is the NuttX
wear-leveling file system. wear-leveling file system.
@@ -929,7 +938,7 @@ Where <subdir> is one of the following:
CONFIG_FS_NXFFS=y CONFIG_FS_NXFFS=y
CONFIG_NSH_ARCHINIT=y CONFIG_NSH_ARCHINIT=y
3) Many operating system features are suppressed to produce a smaller 4. Many operating system features are suppressed to produce a smaller
footprint. footprint.
CONFIG_SCHED_WAITPID=n CONFIG_SCHED_WAITPID=n
@@ -938,7 +947,7 @@ Where <subdir> is one of the following:
CONFIG_DISABLE_MQUEUE=y CONFIG_DISABLE_MQUEUE=y
CONFIG_DISABLE_MQUEUE=y CONFIG_DISABLE_MQUEUE=y
4) Many NSH commands are suppressed, also for a smaller FLASH footprint 5. Many NSH commands are suppressed, also for a smaller FLASH footprint
CONFIG_NSH_DISABLESCRIPT=y CONFIG_NSH_DISABLESCRIPT=y
CONFIG_NSH_DISABLEBG=y CONFIG_NSH_DISABLEBG=y
@@ -949,11 +958,8 @@ Where <subdir> is one of the following:
CONFIG_NSH_DISABLE_GET=y CONFIG_NSH_DISABLE_GET=y
CONFIG_NSH_DISABLE_IFCONFIG=y CONFIG_NSH_DISABLE_IFCONFIG=y
CONFIG_NSH_DISABLE_KILL=y CONFIG_NSH_DISABLE_KILL=y
CONFIG_NSH_DISABLE_MKFATFS=y
CONFIG_NSH_DISABLE_MKFIFO=y CONFIG_NSH_DISABLE_MKFIFO=y
CONFIG_NSH_DISABLE_MKRD=y CONFIG_NSH_DISABLE_MKRD=y
CONFIG_NSH_DISABLE_NFSMOUNT=y
CONFIG_NSH_DISABLE_PING=y
CONFIG_NSH_DISABLE_PUT=y CONFIG_NSH_DISABLE_PUT=y
CONFIG_NSH_DISABLE_SH=y CONFIG_NSH_DISABLE_SH=y
CONFIG_NSH_DISABLE_TEST=y CONFIG_NSH_DISABLE_TEST=y
@@ -962,15 +968,18 @@ Where <subdir> is one of the following:
When the system boots, you should have the NXFFS file system mounted When the system boots, you should have the NXFFS file system mounted
at /mnt/sst25. at /mnt/sst25.
NOTES: (1) It takes many seconds to boot the sytem using the NXFFS NOTES:
a) It takes many seconds to boot the sytem using the NXFFS
file system because the entire FLASH must be verified on power up file system because the entire FLASH must be verified on power up
(and longer the first time that NXFFS comes up and has to format the (and longer the first time that NXFFS comes up and has to format the
entire FLASH). (2) FAT does not have these delays and this configuration entire FLASH).
can be modified to use the (larger) FAT file system as described below. b) FAT does not have these delays and this configuration can be modified
But you will, or course, lose the wear-leveling feature if FAT is used. to use the (larger) FAT file system as described below. But you will,
or course, lose the wear-leveling feature if FAT is used.
6. FAT
fat:
----
There is no FAT configuration, but the nxffx configuration can be used There is no FAT configuration, but the nxffx configuration can be used
to support the FAT FS if the following changes are made to the NuttX to support the FAT FS if the following changes are made to the NuttX
configuration file: configuration file:
@@ -980,19 +989,18 @@ Where <subdir> is one of the following:
CONFIG_NSH_DISABLE_MKFATFS=n CONFIG_NSH_DISABLE_MKFATFS=n
In this configuration, the FAT file system will not be automatically In this configuration, the FAT file system will not be automatically
monounted. When NuttX boots to the NSH prompt, you will find the mounted. When NuttX boots to the NSH prompt, you will find the
SST5 block driver at /dev/mtdblock0. This can be formatted with a SST5 block driver at /dev/mtdblock0. This can be formatted with a
FAT file system and mounted with these commands: FAT file system and mounted with these commands:
nsh> mkfatfs /dev/mtdblock0 nsh> mkfatfs /dev/mtdblock0
nsh> mount -t vfat /dev/mtdblock0 /mnt/sst25 nsh> mount -t vfat /dev/mtdblock0 /mnt/sst25
PGA117 Support: 7. PGA117 Support
---------------
The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration The Mirtoo's PGA117 amplifier/multipexer is not used by this
but can be enabled by setting: configuration but can be enabled by setting:
CONFIG_ADC=y : Enable support for anlog input devices CONFIG_ADC=y : Enable support for anlog input devices
CONFIG_SPI_OWNBUS=n : The PGA117 is *not* the only device on the bus CONFIG_SPI_OWNBUS=n : The PGA117 is *not* the only device on the bus
CONFIG_ADC_PGA11X=y : Enable support for the PGA117 CONFIG_ADC_PGA11X=y : Enable support for the PGA117
-43
View File
@@ -1,43 +0,0 @@
############################################################################
# configs/mirtoo/nxffs/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 += examples/nsh
# The NSH application library
CONFIGURED_APPS += system/readline
CONFIGURED_APPS += nshlib
File diff suppressed because it is too large Load Diff