More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4636 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
8a9c292626
commit
75020c30ac
@ -2672,3 +2672,5 @@
|
||||
f_fdopen() if the open mode string is invalid.
|
||||
* drivers/serial/serial.c: Do not disable Rx interrupts on each byte.
|
||||
Rather, only disable Rx interrupts when the Rx ring buffer may be empty.
|
||||
* include/nuttx/usb/audio.h: USB Audio 1.0 definitions (in progress).
|
||||
|
||||
|
@ -6,259 +6,15 @@
|
||||
if ARCH_MIPS
|
||||
choice
|
||||
prompt "MIPS chip selection"
|
||||
default ARCH_CHIP_PIC32MX460F512L
|
||||
default ARCH_CHIP_PIC32MX
|
||||
|
||||
config ARCH_CHIP_PIC32MX320F032H
|
||||
bool "PIC32MX320F032H"
|
||||
config ARCH_CHIP_PIC32MX
|
||||
bool "PIC32MX"
|
||||
---help---
|
||||
Microchip PIC32MX320F032H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX320F064H
|
||||
bool "PIC32MX320F064H"
|
||||
---help---
|
||||
Microchip PIC32MX320F064H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX320F128H
|
||||
bool "PIC32MX320F128H"
|
||||
---help---
|
||||
Microchip PIC32MX320F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX320F128L
|
||||
bool "PIC32MX320F128L"
|
||||
---help---
|
||||
Microchip PIC32MX320F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX340F128H
|
||||
bool "PIC32MX340F128H"
|
||||
---help---
|
||||
Microchip PIC32MX340F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX340F256H
|
||||
bool "PIC32MX340F256H"
|
||||
---help---
|
||||
Microchip PIC32MX340F256H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX340F512H
|
||||
bool "PIC32MX340F512H"
|
||||
---help---
|
||||
Microchip PIC32MX340F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX340F128L
|
||||
bool "PIC32MX340F128L"
|
||||
---help---
|
||||
Microchip PIC32MX340F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX360F256L
|
||||
bool "PIC32MX360F256L"
|
||||
---help---
|
||||
Microchip PIC32MX360F256L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX360F512L
|
||||
bool "PIC32MX360F512L"
|
||||
---help---
|
||||
Microchip PIC32MX360F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX420F032H
|
||||
bool "PIC32MX420F032H"
|
||||
---help---
|
||||
Microchip PIC32MX420F032H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX440F128H
|
||||
bool "PIC32MX440F128H"
|
||||
---help---
|
||||
Microchip PIC32MX440F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX440F128L
|
||||
bool "PIC32MX440F128L"
|
||||
---help---
|
||||
Microchip PIC32MX440F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX440F256H
|
||||
bool "PIC32MX440F256H"
|
||||
---help---
|
||||
Microchip PIC32MX440F256H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX440F512H
|
||||
bool "PIC32MX440F512H"
|
||||
---help---
|
||||
Microchip PIC32MX440F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX460F256L
|
||||
bool "PIC32MX460F256L"
|
||||
---help---
|
||||
Microchip PIC32MX460F256L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX460F512L
|
||||
bool "PIC32MX460F512L"
|
||||
---help---
|
||||
Microchip PIC32MX460F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX534F064H
|
||||
bool "PIC32MX534F064H"
|
||||
---help---
|
||||
Microchip PIC32MX534F064H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX534F064L
|
||||
bool "PIC32MX534F064L"
|
||||
---help---
|
||||
Microchip PIC32MX534F064L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX564F064H
|
||||
bool "PIC32MX564F064H"
|
||||
---help---
|
||||
Microchip PIC32MX564F064H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX564F064L
|
||||
bool "PIC32MX564F064L"
|
||||
---help---
|
||||
Microchip PIC32MX564F064L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX564F128H
|
||||
bool "PIC32MX564F128H"
|
||||
---help---
|
||||
Microchip PIC32MX564F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX564F128L
|
||||
bool "PIC32MX564F128L"
|
||||
---help---
|
||||
Microchip PIC32MX564F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX575F256H
|
||||
bool "PIC32MX575F256H"
|
||||
---help---
|
||||
Microchip PIC32MX575F256H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX575F256L
|
||||
bool "PIC32MX575F256L"
|
||||
---help---
|
||||
Microchip PIC32MX575F256L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX575F512H
|
||||
bool "PIC32MX575F512H"
|
||||
---help---
|
||||
Microchip PIC32MX575F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX575F512L
|
||||
bool "PIC32MX575F512L"
|
||||
---help---
|
||||
Microchip PIC32MX575F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX664F064H
|
||||
bool "PIC32MX664F064H"
|
||||
---help---
|
||||
Microchip PIC32MX664F064H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX664F064L
|
||||
bool "PIC32MX664F064L"
|
||||
---help---
|
||||
Microchip PIC32MX664F064L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX664F128H
|
||||
bool "PIC32MX664F128H"
|
||||
---help---
|
||||
Microchip PIC32MX664F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX664F128L
|
||||
bool "PIC32MX664F128L"
|
||||
---help---
|
||||
Microchip PIC32MX664F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX675F256H
|
||||
bool "PIC32MX675F256H"
|
||||
---help---
|
||||
Microchip PIC32MX675F256H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX675F256L
|
||||
bool "PIC32MX675F256L"
|
||||
---help---
|
||||
Microchip PIC32MX675F256L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX675F512H
|
||||
bool "PIC32MX675F512H"
|
||||
---help---
|
||||
Microchip PIC32MX675F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX675F512L
|
||||
bool "PIC32MX675F512L"
|
||||
---help---
|
||||
Microchip PIC32MX675F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX695F512H
|
||||
bool "PIC32MX695F512H"
|
||||
---help---
|
||||
Microchip PIC32MX695F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX695F512L
|
||||
bool "PIC32MX695F512L"
|
||||
---help---
|
||||
Microchip PIC32MX695F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX764F128H
|
||||
bool "PIC32MX764F128H"
|
||||
---help---
|
||||
Microchip PIC32MX764F128H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX764F128L
|
||||
bool "PIC32MX764F128L"
|
||||
---help---
|
||||
Microchip PIC32MX764F128L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX775F256H
|
||||
bool "PIC32MX775F256H"
|
||||
---help---
|
||||
Microchip PIC32MX775F256H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX775F256L
|
||||
bool "PIC32MX775F256L"
|
||||
---help---
|
||||
Microchip PIC32MX775F256L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX775F512H
|
||||
bool "PIC32MX775F512H"
|
||||
---help---
|
||||
Microchip PIC32MX775F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX775F512L
|
||||
bool "PIC32MX775F512L"
|
||||
---help---
|
||||
Microchip PIC32MX775F512L (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX795F512H
|
||||
bool "PIC32MX795F512H"
|
||||
---help---
|
||||
Microchip PIC32MX795F512H (MIPS32)
|
||||
|
||||
config ARCH_CHIP_PIC32MX795F512L
|
||||
bool "PIC32MX795F512L"
|
||||
---help---
|
||||
Microchip PIC32MX795F512L (MIPS32)
|
||||
|
||||
endchoice
|
||||
|
||||
config ARCH_CHIP_PIC322MX3
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX320F032H || ARCH_CHIP_PIC32MX320F064H || ARCH_CHIP_PIC32MX320F128H || ARCH_CHIP_PIC32MX320F128L || ARCH_CHIP_PIC32MX340F128H || ARCH_CHIP_PIC32MX340F256H || ARCH_CHIP_PIC32MX340F512H || ARCH_CHIP_PIC32MX340F128L || ARCH_CHIP_PIC32MX360F256L || ARCH_CHIP_PIC32MX360F512L
|
||||
|
||||
config ARCH_CHIP_PIC322MX4
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX420F032H || ARCH_CHIP_PIC32MX440F128H || ARCH_CHIP_PIC32MX440F128L || ARCH_CHIP_PIC32MX440F256H || ARCH_CHIP_PIC32MX440F512H || ARCH_CHIP_PIC32MX460F256L || ARCH_CHIP_PIC32MX460F512L
|
||||
|
||||
config ARCH_CHIP_PIC322MX5
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX534F064H || ARCH_CHIP_PIC32MX534F064L || ARCH_CHIP_PIC32MX564F064H || ARCH_CHIP_PIC32MX564F064L || ARCH_CHIP_PIC32MX564F128H || ARCH_CHIP_PIC32MX564F128L || ARCH_CHIP_PIC32MX575F256H || ARCH_CHIP_PIC32MX575F256L || ARCH_CHIP_PIC32MX575F512H || ARCH_CHIP_PIC32MX575F512L
|
||||
|
||||
config ARCH_CHIP_PIC322MX6
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX664F064H || ARCH_CHIP_PIC32MX664F064L || ARCH_CHIP_PIC32MX664F128H || ARCH_CHIP_PIC32MX664F128L || ARCH_CHIP_PIC32MX675F256H || ARCH_CHIP_PIC32MX675F256L || ARCH_CHIP_PIC32MX675F512H || ARCH_CHIP_PIC32MX675F512L || ARCH_CHIP_PIC32MX695F512H || ARCH_CHIP_PIC32MX695F512L
|
||||
|
||||
config ARCH_CHIP_PIC322MX7
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX764F128H || ARCH_CHIP_PIC32MX764F128L || ARCH_CHIP_PIC32MX775F256H || ARCH_CHIP_PIC32MX775F256L || ARCH_CHIP_PIC32MX775F512H || ARCH_CHIP_PIC32MX775F512L || ARCH_CHIP_PIC32MX795F512H || ARCH_CHIP_PIC32MX795F512L
|
||||
|
||||
config ARCH_CHIP_PIC32MX
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC322MX3 || ARCH_CHIP_PIC322MX4 || ARCH_CHIP_PIC322MX5 || ARCH_CHIP_PIC322MX6 || ARCH_CHIP_PIC322MX7
|
||||
|
||||
config ARCH_MIPS32
|
||||
bool
|
||||
default y if ARCH_CHIP_PIC32MX
|
||||
@ -271,6 +27,48 @@ config ARCH_CHIP
|
||||
string
|
||||
default "pic32mx" if ARCH_CHIP_PIC32MX
|
||||
|
||||
config ARCH_STACKDUMP
|
||||
bool "Dump stack on assertions"
|
||||
default n
|
||||
---help---
|
||||
Enable to do stack dumps after assertions
|
||||
|
||||
config ARCH_LEDS
|
||||
bool "Use board LEDs to show state"
|
||||
default y
|
||||
---help---
|
||||
Use LEDs to show state. Unique to boards that have LEDs
|
||||
|
||||
config ARCH_INTERRUPTSTACK
|
||||
bool "Use interrupt stack"
|
||||
default y
|
||||
---help---
|
||||
This architecture supports an interrupt stack. If defined, this symbol
|
||||
is the size of the interrupt stack in bytes. If not defined, the user
|
||||
task stacks will be used during interrupt handling.
|
||||
|
||||
config ARCH_IRQPRIO
|
||||
bool "Interrupt priority"
|
||||
default y if ARCH_CHIP_PIC32MX
|
||||
---help---
|
||||
Select if your board supports interrupt prioritization.
|
||||
|
||||
config ARCH_LOOPSPERMSEC
|
||||
int "Delay loops per millisecond"
|
||||
default 5000
|
||||
---help---
|
||||
Delay loops nust be calibrated for correct operation.
|
||||
|
||||
config ARCH_CALIBRATION
|
||||
bool "Calibrate delay loop"
|
||||
default n
|
||||
---help---
|
||||
Enables some built in instrumentation that causes a 100 second delay
|
||||
during boot-up. This 100 second delay serves no purpose other than it
|
||||
allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
|
||||
watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
|
||||
the delay actually is 100 seconds.
|
||||
|
||||
source arch/mips/src/common/Kconfig
|
||||
source arch/mips/src/mips32/Kconfig
|
||||
source arch/mips/src/pic32mx/Kconfig
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -57,7 +57,7 @@ config LCD_PWM
|
||||
provided.
|
||||
|
||||
config LCD_RDSHIFT
|
||||
int "LCD data shift
|
||||
int "LCD data shift"
|
||||
default 5
|
||||
depends on STM3210E_LCD
|
||||
---help---
|
||||
|
80
include/nuttx/usb/audio.h
Normal file
80
include/nuttx/usb/audio.h
Normal file
@ -0,0 +1,80 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/usb/audio.h
|
||||
*
|
||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* References: This header file is based on information provided by the
|
||||
* documents for the Audio v2.0 package:
|
||||
*
|
||||
* 1. Universal Serial Bus Device Class Definition for Audio Devices, Release
|
||||
* 2.0, May 31, 2006,
|
||||
* 2. Universal Serial Bus Device Class Definition for Audio Data Formats,
|
||||
* Release 2.0, May 31, 2006
|
||||
* 3. Universal Serial Bus Device Class Definition for Terminal Types,\
|
||||
* Release 2.0, May 31, 2006,
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_USB_AUDIO_H
|
||||
#define __INCLUDE_NUTTX_USB_AUDIO_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Preprocessor definitions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
# define EXTERN extern "C"
|
||||
extern "C" {
|
||||
#else
|
||||
# define EXTERN extern
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_USB_AUDIO_H */
|
Loading…
Reference in New Issue
Block a user