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:
patacongo 2012-04-19 22:51:42 +00:00
parent 20c5148e2a
commit 868fc6e118
2 changed files with 1274 additions and 247 deletions

View File

@ -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