2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-07 00:45:52 +08:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-04-17 21:48:39 +08:00
|
|
|
|
|
|
|
if ARCH_MIPS
|
|
|
|
choice
|
|
|
|
prompt "MIPS chip selection"
|
2012-04-20 06:51:42 +08:00
|
|
|
default ARCH_CHIP_PIC32MX
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_CHIP_PIC32MX
|
|
|
|
bool "PIC32MX"
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
|
|
|
Microchip PIC32MX320F032H (MIPS32)
|
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
endchoice
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_MIPS32
|
|
|
|
bool
|
|
|
|
default y if ARCH_CHIP_PIC32MX
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_FAMILY
|
|
|
|
string
|
|
|
|
default "mips32" if ARCH_MIPS32
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
|
|
|
default "pic32mx" if ARCH_CHIP_PIC32MX
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_STACKDUMP
|
|
|
|
bool "Dump stack on assertions"
|
|
|
|
default n
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
Enable to do stack dumps after assertions
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_LEDS
|
|
|
|
bool "Use board LEDs to show state"
|
|
|
|
default y
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
Use LEDs to show state. Unique to boards that have LEDs
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_INTERRUPTSTACK
|
|
|
|
bool "Use interrupt stack"
|
|
|
|
default y
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
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.
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_IRQPRIO
|
|
|
|
bool "Interrupt priority"
|
|
|
|
default y if ARCH_CHIP_PIC32MX
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
Select if your board supports interrupt prioritization.
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_LOOPSPERMSEC
|
|
|
|
int "Delay loops per millisecond"
|
|
|
|
default 5000
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
Delay loops nust be calibrated for correct operation.
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2012-04-20 06:51:42 +08:00
|
|
|
config ARCH_CALIBRATION
|
|
|
|
bool "Calibrate delay loop"
|
|
|
|
default n
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2012-04-20 06:51:42 +08:00
|
|
|
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.
|
2012-04-18 06:54:31 +08:00
|
|
|
|
|
|
|
source arch/mips/src/common/Kconfig
|
|
|
|
source arch/mips/src/mips32/Kconfig
|
|
|
|
source arch/mips/src/pic32mx/Kconfig
|
2012-04-17 21:48:39 +08:00
|
|
|
|
|
|
|
endif
|