2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-17 15:48:39 +02:00
|
|
|
|
|
|
|
if ARCH_MIPS
|
|
|
|
choice
|
|
|
|
prompt "MIPS chip selection"
|
2012-04-20 00:51:42 +02:00
|
|
|
default ARCH_CHIP_PIC32MX
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
config ARCH_CHIP_PIC32MX
|
|
|
|
bool "PIC32MX"
|
2012-11-29 19:44:02 +01:00
|
|
|
select ARCH_MIPS32
|
|
|
|
select ARCH_IRQPRIO
|
2013-01-14 23:06:19 +01:00
|
|
|
select ARCH_VECNOTIRQ
|
|
|
|
select ARCH_HAVE_RAMFUNCS
|
2012-04-17 15:48:39 +02:00
|
|
|
---help---
|
|
|
|
Microchip PIC32MX320F032H (MIPS32)
|
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
endchoice
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
config ARCH_MIPS32
|
|
|
|
bool
|
2012-11-29 19:44:02 +01:00
|
|
|
default n
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
config ARCH_FAMILY
|
|
|
|
string
|
|
|
|
default "mips32" if ARCH_MIPS32
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
|
|
|
default "pic32mx" if ARCH_CHIP_PIC32MX
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-09-05 23:36:03 +02:00
|
|
|
config BOARD_LOOPSPERMSEC
|
2012-04-20 00:51:42 +02:00
|
|
|
int "Delay loops per millisecond"
|
|
|
|
default 5000
|
2012-04-17 15:48:39 +02:00
|
|
|
---help---
|
2012-04-20 00:51:42 +02:00
|
|
|
Delay loops nust be calibrated for correct operation.
|
2012-04-17 15:48:39 +02:00
|
|
|
|
2012-04-20 00:51:42 +02:00
|
|
|
config ARCH_CALIBRATION
|
|
|
|
bool "Calibrate delay loop"
|
|
|
|
default n
|
2012-04-17 15:48:39 +02:00
|
|
|
---help---
|
2012-04-20 00:51:42 +02: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
|
2012-09-05 23:36:03 +02:00
|
|
|
allows you to calibratre BOARD_LOOPSPERMSEC. You simply use a stop
|
|
|
|
watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
|
2012-04-20 00:51:42 +02:00
|
|
|
the delay actually is 100 seconds.
|
2012-04-18 00:54:31 +02:00
|
|
|
|
|
|
|
source arch/mips/src/common/Kconfig
|
|
|
|
source arch/mips/src/mips32/Kconfig
|
|
|
|
source arch/mips/src/pic32mx/Kconfig
|
2012-04-17 15:48:39 +02:00
|
|
|
|
|
|
|
endif
|