2012-09-17 15:18:44 -03:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_MIPS
|
|
|
|
choice
|
|
|
|
prompt "MIPS chip selection"
|
|
|
|
default ARCH_CHIP_PIC32MX
|
|
|
|
|
|
|
|
config ARCH_CHIP_PIC32MX
|
|
|
|
bool "PIC32MX"
|
2012-11-29 14:44:02 -04:00
|
|
|
select ARCH_MIPS32
|
|
|
|
select ARCH_IRQPRIO
|
2013-01-14 18:06:19 -04:00
|
|
|
select ARCH_VECNOTIRQ
|
|
|
|
select ARCH_HAVE_RAMFUNCS
|
2012-09-17 15:18:44 -03:00
|
|
|
---help---
|
|
|
|
Microchip PIC32MX320F032H (MIPS32)
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_MIPS32
|
|
|
|
bool
|
2012-11-29 14:44:02 -04:00
|
|
|
default n
|
2013-01-15 11:40:18 -04:00
|
|
|
select ARCH_HAVE_VFORK
|
2012-09-17 15:18:44 -03:00
|
|
|
|
|
|
|
config ARCH_FAMILY
|
|
|
|
string
|
|
|
|
default "mips32" if ARCH_MIPS32
|
|
|
|
|
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
|
|
|
default "pic32mx" if ARCH_CHIP_PIC32MX
|
|
|
|
|
|
|
|
config BOARD_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 BOARD_LOOPSPERMSEC. You simply use a stop
|
|
|
|
watch to measure the 100 second delay then adjust BOARD_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
|
|
|
|
|
|
|
|
endif
|