aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/mips/Kconfig')
-rw-r--r--nuttx/arch/mips/Kconfig288
1 files changed, 43 insertions, 245 deletions
diff --git a/nuttx/arch/mips/Kconfig b/nuttx/arch/mips/Kconfig
index 3964dce6e..36f7f4f86 100644
--- a/nuttx/arch/mips/Kconfig
+++ b/nuttx/arch/mips/Kconfig
@@ -6,270 +6,68 @@
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)
+endchoice
-config ARCH_CHIP_PIC32MX695F512L
- bool "PIC32MX695F512L"
- ---help---
- Microchip PIC32MX695F512L (MIPS32)
+config ARCH_MIPS32
+ bool
+ default y if ARCH_CHIP_PIC32MX
-config ARCH_CHIP_PIC32MX764F128H
- bool "PIC32MX764F128H"
- ---help---
- Microchip PIC32MX764F128H (MIPS32)
+config ARCH_FAMILY
+ string
+ default "mips32" if ARCH_MIPS32
-config ARCH_CHIP_PIC32MX764F128L
- bool "PIC32MX764F128L"
- ---help---
- Microchip PIC32MX764F128L (MIPS32)
+config ARCH_CHIP
+ string
+ default "pic32mx" if ARCH_CHIP_PIC32MX
-config ARCH_CHIP_PIC32MX775F256H
- bool "PIC32MX775F256H"
+config ARCH_STACKDUMP
+ bool "Dump stack on assertions"
+ default n
---help---
- Microchip PIC32MX775F256H (MIPS32)
+ Enable to do stack dumps after assertions
-config ARCH_CHIP_PIC32MX775F256L
- bool "PIC32MX775F256L"
+config ARCH_LEDS
+ bool "Use board LEDs to show state"
+ default y
---help---
- Microchip PIC32MX775F256L (MIPS32)
+ Use LEDs to show state. Unique to boards that have LEDs
-config ARCH_CHIP_PIC32MX775F512H
- bool "PIC32MX775F512H"
+config ARCH_INTERRUPTSTACK
+ bool "Use interrupt stack"
+ default y
---help---
- Microchip PIC32MX775F512H (MIPS32)
+ 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_CHIP_PIC32MX775F512L
- bool "PIC32MX775F512L"
+config ARCH_IRQPRIO
+ bool "Interrupt priority"
+ default y if ARCH_CHIP_PIC32MX
---help---
- Microchip PIC32MX775F512L (MIPS32)
+ Select if your board supports interrupt prioritization.
-config ARCH_CHIP_PIC32MX795F512H
- bool "PIC32MX795F512H"
+config ARCH_LOOPSPERMSEC
+ int "Delay loops per millisecond"
+ default 5000
---help---
- Microchip PIC32MX795F512H (MIPS32)
+ Delay loops nust be calibrated for correct operation.
-config ARCH_CHIP_PIC32MX795F512L
- bool "PIC32MX795F512L"
+config ARCH_CALIBRATION
+ bool "Calibrate delay loop"
+ default n
---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
-
-config ARCH_FAMILY
- string
- default "mips32" if ARCH_MIPS32
-
-config ARCH_CHIP
- string
- default "pic32mx" if ARCH_CHIP_PIC32MX
+ 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