mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
twr-k60n512 configurations converted to use the kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5785 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -340,36 +340,36 @@ endmenu
|
||||
comment "Kinetis GPIO Interrupt Configuration"
|
||||
|
||||
config GPIO_IRQ
|
||||
bool "GPIO interrupts"
|
||||
bool "GPIO pin interrupts"
|
||||
---help---
|
||||
Enable support for interrupt GPIO pins
|
||||
Enable support for interrupting GPIO pins
|
||||
|
||||
if GPIO_IRQ
|
||||
|
||||
config KINETIS_PORTAINTS
|
||||
bool "GPIOA interrupts"
|
||||
---help---
|
||||
Enable support for interrupts from GPIO port A pins
|
||||
Enable support for 32 interrupts from GPIO port A pins
|
||||
|
||||
config KINETIS_PORTBINTS
|
||||
bool "GPIOB interrupts"
|
||||
---help---
|
||||
Enable support for interrupts from GPIO port B pins
|
||||
Enable support for 32 interrupts from GPIO port B pins
|
||||
|
||||
config KINETIS_PORTCINTS
|
||||
bool "GPIOC interrupts"
|
||||
---help---
|
||||
Enable support for interrupts from GPIO port C pins
|
||||
Enable support for 32 interrupts from GPIO port C pins
|
||||
|
||||
config KINETIS_PORTDINTS
|
||||
bool "GPIOD interrupts"
|
||||
---help---
|
||||
Enable support for interrupts from GPIO port D pins
|
||||
Enable support for 32 interrupts from GPIO port D pins
|
||||
|
||||
config KINETIS_PORTEINTS
|
||||
bool "GPIOE interrupts"
|
||||
---help---
|
||||
Enable support for interrupts from GPIO port E pins
|
||||
Enable support for 32 interrupts from GPIO port E pins
|
||||
|
||||
endif
|
||||
|
||||
@@ -394,13 +394,15 @@ config ENET_NRXBUFFERS
|
||||
int "Number of Ethernet Rx buffers"
|
||||
default 6
|
||||
---help---
|
||||
Number of Ethernet Rx buffers to use.
|
||||
Number of Ethernet Rx buffers to use. The size of one buffer is
|
||||
determined by CONFIG_NET_BUFSIZE
|
||||
|
||||
config ENET_NTXBUFFERS
|
||||
int "Number of Ethernet Tx buffers"
|
||||
default 2
|
||||
---help---
|
||||
Number of Ethernet Tx buffers to use.
|
||||
Number of Ethernet Tx buffers to use. The size of one buffer is
|
||||
determined by CONFIG_NET_BUFSIZE
|
||||
|
||||
config ENET_PHYADDR
|
||||
int "PHY address"
|
||||
|
||||
@@ -458,7 +458,9 @@ KwikStik-K40-specific Configuration Options
|
||||
CONFIG_KINETIS_PIT -- Support Programmable Interval Timers
|
||||
CONFIG_ARMV7M_MPU -- Support the MPU
|
||||
|
||||
Kinetis interrupt priorities (Default is the mid priority)
|
||||
Kinetis interrupt priorities (Default is the mid priority) These should
|
||||
not be set because they can cause unhandled, nested interrupts. All
|
||||
interrupts need to be at the default priority in the current design.
|
||||
|
||||
CONFIG_KINETIS_UART0PRIO
|
||||
CONFIG_KINETIS_UART1PRIO
|
||||
|
||||
@@ -233,9 +233,9 @@ CONFIG_RR_INTERVAL=200
|
||||
CONFIG_TASK_NAME_SIZE=0
|
||||
# CONFIG_SCHED_HAVE_PARENT is not set
|
||||
# CONFIG_JULIAN_TIME is not set
|
||||
CONFIG_START_YEAR=2009
|
||||
CONFIG_START_MONTH=9
|
||||
CONFIG_START_DAY=21
|
||||
CONFIG_START_YEAR=2013
|
||||
CONFIG_START_MONTH=3
|
||||
CONFIG_START_DAY=25
|
||||
CONFIG_DEV_CONSOLE=y
|
||||
# CONFIG_MUTEX_TYPES is not set
|
||||
# CONFIG_PRIORITY_INHERITANCE is not set
|
||||
|
||||
@@ -595,7 +595,9 @@ TWR-K60N512-specific Configuration Options
|
||||
CONFIG_KINETIS_PIT -- Support Programmable Interval Timers
|
||||
CONFIG_ARMV7M_MPU -- Support the MPU
|
||||
|
||||
Kinetis interrupt priorities (Default is the mid priority)
|
||||
Kinetis interrupt priorities (Default is the mid priority). These should
|
||||
not be set because they can cause unhandled, nested interrupts. All
|
||||
interrupts need to be at the default priority in the current design.
|
||||
|
||||
CONFIG_KINETIS_UART0PRIO
|
||||
CONFIG_KINETIS_UART1PRIO
|
||||
@@ -613,7 +615,7 @@ TWR-K60N512-specific Configuration Options
|
||||
|
||||
PIN Interrupt Support
|
||||
|
||||
CONFIG_GPIO_IRQ -- Enable pin interrtup support. Also needs
|
||||
CONFIG_GPIO_IRQ -- Enable pin interrupt support. Also needs
|
||||
one or more of the following:
|
||||
CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts
|
||||
CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts
|
||||
@@ -639,7 +641,7 @@ TWR-K60N512-specific Configuration Options
|
||||
buffer is determined by CONFIG_NET_BUFSIZE. Default: 6
|
||||
CONFIG_ENET_NTXBUFFERS - Number of TX buffers. The size of one
|
||||
buffer is determined by CONFIG_NET_BUFSIZE. Default: 2
|
||||
CONFIG_ENET_USEMII - Usee MII mode. Default: RMII mode.
|
||||
CONFIG_ENET_USEMII - Use MII mode. Default: RMII mode.
|
||||
CONFIG_ENET_PHYADDR - PHY address
|
||||
|
||||
Configurations
|
||||
@@ -660,7 +662,23 @@ Where <subdir> is one of the following:
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest.
|
||||
|
||||
CONFIG_KINETIS_BUILDROOT=y : NuttX buildroot under Linux or Cygwin
|
||||
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 (Cygwin under Windows okay too).
|
||||
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-elf-gcc)
|
||||
CONFIG_ARMV7M_OABI_TOOLCHAIN=y : The older OABI version
|
||||
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
|
||||
|
||||
nsh:
|
||||
---
|
||||
@@ -669,23 +687,42 @@ Where <subdir> is one of the following:
|
||||
Support for the board's SPI-based MicroSD card is included
|
||||
(but not passing tests as of this writing).
|
||||
|
||||
NOTE: An SDHC driver is underwork and can be enabled in the NSH
|
||||
configuration for further testing be setting the following
|
||||
configuration faluesas follows:
|
||||
NOTES:
|
||||
|
||||
-CONFIG_KINETIS_SDHC=n
|
||||
+CONFIG_KINETIS_SDHC=y # Enable the SDHC driver
|
||||
1. This configuration uses the mconf-based configuration tool. To
|
||||
change this configuration using that tool, you should:
|
||||
|
||||
-CONFIG_GPIO_IRQ=n
|
||||
+CONFIG_GPIO_IRQ=y # Enable GPIO interrupts
|
||||
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||
and misc/tools/
|
||||
|
||||
-CONFIG_KINETIS_PORTEINTS=n
|
||||
+CONFIG_KINETIS_PORTEINTS=y # Enable PortE GPIO interrupts
|
||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||
reconfiguration process.
|
||||
|
||||
-CONFIG_SCHED_WORKQUEUE=n
|
||||
+CONFIG_SCHED_WORKQUEUE=y # Enable the NuttX workqueue
|
||||
2. Default platform/toolchain:
|
||||
|
||||
-CONFIG_NSH_ARCHINIT=n
|
||||
+CONFIG_NSH_ARCHINIT=y # Provide NSH intialization logic
|
||||
CONFIG_HOST_LINUX=y : Linux (Cygwin under Windows okay too).
|
||||
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-elf-gcc)
|
||||
CONFIG_ARMV7M_OABI_TOOLCHAIN=y : The older OABI version
|
||||
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
|
||||
|
||||
3. An SDHC driver is under work and can be enabled in the NSH configuration
|
||||
for further testing be setting the following configuration values as
|
||||
follows:
|
||||
|
||||
CONFIG_KINETIS_SDHC=y : Enable the SDHC driver
|
||||
|
||||
CONFIG_MMCSD=y : Enable MMC/SD support
|
||||
CONFIG_MMCSD_SDIO=y : Use the SDIO-based MMC/SD driver
|
||||
CONFIG_MMCSD_NSLOTS=1 : One MMC/SD slot
|
||||
|
||||
CONFIG_FAT=y : Eable FAT file system
|
||||
CONFIG_FAT_LCNAMES=y : FAT lower case name support
|
||||
CONFIG_FAT_LFN=y : FAT long file name support
|
||||
CONFIG_FAT_MAXFNAME=32 : Maximum lenght of a long file name
|
||||
|
||||
CONFIG_GPIO_IRQ=y : Enable GPIO interrupts
|
||||
CONFIG_KINETIS_PORTEINTS=y : Enable PortE GPIO interrupts
|
||||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : Provide NSH intialization logic
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
############################################################################
|
||||
# configs/twr-k60n512/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
|
||||
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
|
||||
+593
-419
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/twr-k60n512/ostest/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 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/ostest
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user