mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
configs/teensy/hello: Configuration converted to use the kconfig-frontends tool
This commit is contained in:
+40
-28
@@ -513,19 +513,42 @@ Teensy++ Configuration Options
|
|||||||
Configurations
|
Configurations
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Each Teensy++ configuration is maintained in a sub-directory and can
|
Common Configuration Notes
|
||||||
be selected as follow:
|
--------------------------
|
||||||
|
|
||||||
cd tools
|
1. Each Teensy++ configuration is maintained in a sub-directory and
|
||||||
./configure.sh teensy/<subdir>
|
can be selected as follow:
|
||||||
cd -
|
|
||||||
. ./setenv.sh
|
|
||||||
|
|
||||||
NOTE: You must also copy avr-libc header files, perhaps like:
|
cd tools
|
||||||
|
./configure.sh teensy/<subdir>
|
||||||
|
cd -
|
||||||
|
. ./setenv.sh
|
||||||
|
|
||||||
cp -a /cygdrive/c/WinAVR/include/avr include/.
|
Where <subdir> is one of the configuration sub-directories described in
|
||||||
|
the following paragraph.
|
||||||
|
|
||||||
Where <subdir> is one of the following:
|
NOTE: You must also copy avr-libc header files, perhaps like:
|
||||||
|
|
||||||
|
cp -a /cygdrive/c/WinAVR/include/avr include/.
|
||||||
|
|
||||||
|
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
|
||||||
|
and misc/tools/
|
||||||
|
|
||||||
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
|
reconfiguration process.
|
||||||
|
|
||||||
|
3. By default, all configurations assume the NuttX Buildroot toolchain
|
||||||
|
under Cygwin with Windows. This is easily reconfigured:
|
||||||
|
|
||||||
|
CONFIG_HOST_WINDOWS=y
|
||||||
|
CONFIG_WINDOWS_CYGWIN=y
|
||||||
|
CONFIG_AVR_BUILDROOT=y
|
||||||
|
|
||||||
|
Configuration Sub-Directories
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
hello:
|
hello:
|
||||||
The simple apps/examples/hello "Hello, World!" example.
|
The simple apps/examples/hello "Hello, World!" example.
|
||||||
@@ -540,25 +563,14 @@ Where <subdir> is one of the following:
|
|||||||
This configuration directory exercises the USB mass storage
|
This configuration directory exercises the USB mass storage
|
||||||
class driver at apps/system/usbmsc. See apps/examples/README.txt
|
class driver at apps/system/usbmsc. See apps/examples/README.txt
|
||||||
for more information.
|
for more information.
|
||||||
NOTES:
|
|
||||||
|
|
||||||
1. This configuration uses the mconf-based configuration tool. To
|
NOTE: THIS CONFIGURATION HAS NOT YET BEEN DEBUGGED AND DOES NOT
|
||||||
change this configuration using that tool, you should:
|
WORK!!! ISSUES: (1) THE SPI DRIVER IS UNTESTED, (2) THE USB DRIVER
|
||||||
|
IS UNTESTED, AND (3) THE RAM USAGE MIGHT BE EXCESSIVE.
|
||||||
|
|
||||||
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
Update 7/11: (1) The SPI/SD driver has been verified, however, (2) I
|
||||||
and misc/tools/
|
believe that the current teensy/usbmsc configuration uses too
|
||||||
|
much SRAM for the system to behave sanely. A lower memory footprint
|
||||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
version of the mass storage driver will be required before this can
|
||||||
reconfiguration process.
|
be debugged.
|
||||||
|
|
||||||
2. NOTE: THIS CONFIGURATION HAS NOT YET BEEN DEBUGGED AND DOES NOT
|
|
||||||
WORK!!! ISSUES: (1) THE SPI DRIVER IS UNTESTED, (2) THE USB DRIVER
|
|
||||||
IS UNTESTED, AND (3) THE RAM USAGE MIGHT BE EXCESSIVE.
|
|
||||||
|
|
||||||
|
|
||||||
Update 7/11: (1) The SPI/SD driver has been verified, however, (2) I
|
|
||||||
believe that the current teensy/usbmsc configuration uses too
|
|
||||||
much SRAM for the system to behave sanely. A lower memory footprint
|
|
||||||
version of the mass storage driver will be required before this can
|
|
||||||
be debugged.
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/teensy/hello/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/hello
|
|
||||||
|
|
||||||
+538
-361
File diff suppressed because it is too large
Load Diff
@@ -9,10 +9,14 @@ CONFIG_NUTTX_NEWCONFIG=y
|
|||||||
#
|
#
|
||||||
# CONFIG_EXPERIMENTAL is not set
|
# CONFIG_EXPERIMENTAL is not set
|
||||||
CONFIG_DEFAULT_SMALL=y
|
CONFIG_DEFAULT_SMALL=y
|
||||||
CONFIG_HOST_LINUX=y
|
# CONFIG_HOST_LINUX is not set
|
||||||
# CONFIG_HOST_OSX is not set
|
# CONFIG_HOST_OSX is not set
|
||||||
# CONFIG_HOST_WINDOWS is not set
|
CONFIG_HOST_WINDOWS=y
|
||||||
# CONFIG_HOST_OTHER is not set
|
# CONFIG_HOST_OTHER is not set
|
||||||
|
# CONFIG_WINDOWS_NATIVE is not set
|
||||||
|
CONFIG_WINDOWS_CYGWIN=y
|
||||||
|
# CONFIG_WINDOWS_MSYS is not set
|
||||||
|
# CONFIG_WINDOWS_OTHER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build Configuration
|
# Build Configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user