mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
convert Kwikstik K40 configurations to use kconfig-frontends tools
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -524,7 +524,22 @@ Where <subdir> is one of the following:
|
||||
ostest:
|
||||
------
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest. By default, this project assumes that you are
|
||||
using the DFU bootloader.
|
||||
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
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/kwikstik-k40/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
@@ -57,5 +57,5 @@ fi
|
||||
export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||
|
||||
# Add the path to the toolchain to the PATH varialble
|
||||
export PATH="${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
export PATH="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
echo "PATH : ${PATH}"
|
||||
|
||||
@@ -572,6 +572,7 @@ Where <subdir> is one of the following:
|
||||
|
||||
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. As it is configured now, you MUST have a network connected.
|
||||
|
||||
@@ -553,14 +553,14 @@ TWR-K60N512-specific Configuration Options
|
||||
|
||||
CONFIG_KINETIS_TRACE -- Enable trace clocking on power up.
|
||||
CONFIG_KINETIS_FLEXBUS -- Enable flexbus clocking on power up.
|
||||
CONFIG_KINETIS_UART0 -- Support UART0
|
||||
CONFIG_KINETIS_UART1 -- Support UART1
|
||||
CONFIG_KINETIS_UART2 -- Support UART2
|
||||
CONFIG_KINETIS_UART3 -- Support UART3
|
||||
CONFIG_KINETIS_UART4 -- Support UART4
|
||||
CONFIG_KINETIS_UART5 -- Support UART5
|
||||
CONFIG_KINETIS_ENET -- Support Ethernet (K60 only)
|
||||
CONFIG_KINETIS_RNGB -- Support the random number generator(K60 only)
|
||||
CONFIG_KINETIS_UART0 -- Support UART0
|
||||
CONFIG_KINETIS_UART1 -- Support UART1
|
||||
CONFIG_KINETIS_UART2 -- Support UART2
|
||||
CONFIG_KINETIS_UART3 -- Support UART3
|
||||
CONFIG_KINETIS_UART4 -- Support UART4
|
||||
CONFIG_KINETIS_UART5 -- Support UART5
|
||||
CONFIG_KINETIS_ENET -- Support Ethernet (K60 only)
|
||||
CONFIG_KINETIS_RNGB -- Support the random number generator(K60 only)
|
||||
CONFIG_KINETIS_FLEXCAN0 -- Support FlexCAN0
|
||||
CONFIG_KINETIS_FLEXCAN1 -- Support FlexCAN1
|
||||
CONFIG_KINETIS_SPI0 -- Support SPI0
|
||||
@@ -569,8 +569,8 @@ TWR-K60N512-specific Configuration Options
|
||||
CONFIG_KINETIS_I2C0 -- Support I2C0
|
||||
CONFIG_KINETIS_I2C1 -- Support I2C1
|
||||
CONFIG_KINETIS_I2S -- Support I2S
|
||||
CONFIG_KINETIS_DAC0 -- Support DAC0
|
||||
CONFIG_KINETIS_DAC1 -- Support DAC1
|
||||
CONFIG_KINETIS_DAC0 -- Support DAC0
|
||||
CONFIG_KINETIS_DAC1 -- Support DAC1
|
||||
CONFIG_KINETIS_ADC0 -- Support ADC0
|
||||
CONFIG_KINETIS_ADC1 -- Support ADC1
|
||||
CONFIG_KINETIS_CMP -- Support CMP
|
||||
@@ -658,8 +658,7 @@ Where <subdir> is one of the following:
|
||||
ostest:
|
||||
------
|
||||
This configuration directory, performs a simple OS test using
|
||||
examples/ostest. By default, this project assumes that you are
|
||||
using the DFU bootloader.
|
||||
examples/ostest.
|
||||
|
||||
CONFIG_KINETIS_BUILDROOT=y : NuttX buildroot under Linux or Cygwin
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@ CONFIG_ARCH_LEDS=y
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
CONFIG_ARCH_CALIBRATION=n
|
||||
CONFIG_ARCH_DMA=n
|
||||
CONFIG_ARCH_FPU=n
|
||||
|
||||
#
|
||||
# Identify toolchain and linker options
|
||||
@@ -61,7 +62,6 @@ CONFIG_KINETIS_CODESOURCERYW=n
|
||||
CONFIG_KINETIS_CODESOURCERYL=n
|
||||
CONFIG_KINETIS_DEVKITARM=n
|
||||
CONFIG_KINETIS_BUILDROOT=y
|
||||
CONFIG_KINETIS_DFU=y
|
||||
|
||||
#
|
||||
# Individual subsystems can be enabled:
|
||||
@@ -205,6 +205,7 @@ CONFIG_SCHED_WORKPRIORITY=192
|
||||
CONFIG_SCHED_WORKPERIOD=50000
|
||||
CONFIG_SCHED_WORKSTACKSIZE=1024
|
||||
CONFIG_SIG_SIGWORK=17
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
|
||||
#
|
||||
# The following can be used to disable categories of
|
||||
|
||||
@@ -57,5 +57,5 @@ fi
|
||||
export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||
|
||||
# Add the path to the toolchain to the PATH varialble
|
||||
export PATH="${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
export PATH="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
echo "PATH : ${PATH}"
|
||||
|
||||
@@ -53,6 +53,7 @@ CONFIG_ARCH_LEDS=y
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
CONFIG_ARCH_CALIBRATION=n
|
||||
CONFIG_ARCH_DMA=n
|
||||
CONFIG_ARCH_FPU=n
|
||||
|
||||
#
|
||||
# Identify toolchain and linker options
|
||||
@@ -61,7 +62,6 @@ CONFIG_KINETIS_CODESOURCERYW=n
|
||||
CONFIG_KINETIS_CODESOURCERYL=n
|
||||
CONFIG_KINETIS_DEVKITARM=n
|
||||
CONFIG_KINETIS_BUILDROOT=y
|
||||
CONFIG_KINETIS_DFU=y
|
||||
|
||||
#
|
||||
# Individual subsystems can be enabled:
|
||||
|
||||
@@ -57,5 +57,5 @@ fi
|
||||
export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||
|
||||
# Add the path to the toolchain to the PATH varialble
|
||||
export PATH="${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
export PATH="${TOOLCHAIN_BIN}:/sbin:/usr/sbin:${PATH_ORIG}"
|
||||
echo "PATH : ${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user