mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
configs/teensy/nettest: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
@@ -6792,3 +6792,5 @@
|
|||||||
useful because there is no MCI driver for the EA3131 (2014-3-3)
|
useful because there is no MCI driver for the EA3131 (2014-3-3)
|
||||||
* configs/mcu123-lpc214x/usbmsc: Configuration converted to use the
|
* configs/mcu123-lpc214x/usbmsc: Configuration converted to use the
|
||||||
kconfig-frontends tools (2014-3-3)
|
kconfig-frontends tools (2014-3-3)
|
||||||
|
* configs/teensy/nettest: Configuration converted to use the kconfig-frontends
|
||||||
|
tools (2014-3-3).
|
||||||
@@ -6,4 +6,30 @@
|
|||||||
if ARCH_AT90USB
|
if ARCH_AT90USB
|
||||||
comment "AT90USB Configuration Options"
|
comment "AT90USB Configuration Options"
|
||||||
|
|
||||||
|
menu "AT90USB Peripheral Selections"
|
||||||
|
|
||||||
|
config AVR_SPI
|
||||||
|
bool "SPI"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config AVR_USART1
|
||||||
|
bool "USART1"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config AVR_USBDEV
|
||||||
|
bool "USB device"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config AVR_WDT
|
||||||
|
bool "Watchdog"
|
||||||
|
default n
|
||||||
|
|
||||||
|
endmenu # AT90USB Peripheral Selections
|
||||||
|
|
||||||
|
config AVR_GPIOIRQ
|
||||||
|
bool "GPIO pin interrupts"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Enable support for interrupting GPIO pins
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -539,12 +539,26 @@ Where <subdir> is one of the following:
|
|||||||
usbmsc:
|
usbmsc:
|
||||||
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. NOTE: THIS CONFIGURATION HAS NOT YET BEEN
|
for more information.
|
||||||
DEBUGGED AND DOES NOT WORK!!! ISSUES: (1) THE SPI DRIVER IS UNTESTED,
|
NOTES:
|
||||||
(2) THE USB DRIVER IS UNTESTED, AND (3) THE RAM USAGE MIGHT BE EXCESSIVE.
|
|
||||||
|
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. 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.
|
||||||
|
|
||||||
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/usbmsc/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 += system/usbmsc
|
|
||||||
|
|
||||||
+545
-326
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user