2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
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-11-30 02:44:02 +08:00
|
|
|
select ARCH_MIPS32
|
2020-02-02 04:51:10 +08:00
|
|
|
select ARCH_HAVE_EIC
|
2013-12-20 22:42:54 +08:00
|
|
|
select ARCH_HAVE_IRQPRIO
|
2013-01-15 06:06:19 +08:00
|
|
|
select ARCH_VECNOTIRQ
|
|
|
|
select ARCH_HAVE_RAMFUNCS
|
2014-10-28 01:31:16 +08:00
|
|
|
select ARCH_HAVE_SERIAL_TERMIOS
|
2012-04-17 21:48:39 +08:00
|
|
|
---help---
|
2015-02-23 00:53:24 +08:00
|
|
|
Microchip PIC32MX (MIPS32)
|
|
|
|
|
|
|
|
config ARCH_CHIP_PIC32MZ
|
|
|
|
bool "PIC32MZ"
|
|
|
|
select ARCH_MIPS32
|
2020-02-02 04:51:10 +08:00
|
|
|
select ARCH_HAVE_EIC
|
2015-02-23 00:53:24 +08:00
|
|
|
select ARCH_HAVE_IRQPRIO
|
|
|
|
select ARCH_VECNOTIRQ
|
|
|
|
select ARCH_HAVE_RAMFUNCS
|
|
|
|
select ARCH_HAVE_SERIAL_TERMIOS
|
|
|
|
---help---
|
|
|
|
Microchip PIC32MZ (MIPS32)
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2020-10-15 11:29:59 +08:00
|
|
|
config ARCH_CHIP_MIPS_CUSTOM
|
|
|
|
bool "Custom MIPS chip"
|
|
|
|
select ARCH_CHIP_CUSTOM
|
|
|
|
---help---
|
|
|
|
Select this option if there is no directory for the chip under arch/mips/src/.
|
|
|
|
|
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
|
2012-11-30 02:44:02 +08:00
|
|
|
default n
|
2023-07-05 21:43:50 +08:00
|
|
|
select ARCH_HAVE_FORK
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2020-02-11 00:24:37 +08:00
|
|
|
config ARCH_MIPS_M4K
|
2015-02-23 03:45:59 +08:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2020-02-11 00:24:37 +08:00
|
|
|
config ARCH_MIPS_MICROAPTIV
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select ARCH_HAVE_MICROMIPS
|
|
|
|
|
|
|
|
config ARCH_MIPS_M5150
|
2015-02-23 03:45:59 +08:00
|
|
|
bool
|
|
|
|
default n
|
2015-02-28 22:22:37 +08:00
|
|
|
select ARCH_HAVE_MICROMIPS
|
2015-02-24 02:09:34 +08:00
|
|
|
|
2020-02-02 04:51:10 +08:00
|
|
|
config ARCH_HAVE_EIC
|
2021-12-14 15:52:49 +08:00
|
|
|
bool
|
|
|
|
default n
|
2020-02-02 04:51:10 +08:00
|
|
|
|
2015-02-28 22:22:37 +08:00
|
|
|
config ARCH_HAVE_MICROMIPS
|
2015-02-24 02:09:34 +08:00
|
|
|
bool
|
|
|
|
default n
|
2015-02-23 03:45:59 +08:00
|
|
|
|
2015-02-28 22:22:37 +08:00
|
|
|
config MIPS_MICROMIPS
|
|
|
|
bool "Use microMIPS ISA"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_MICROMIPS
|
|
|
|
---help---
|
|
|
|
The processor supports both the MIPS32 ISA and the microMIPS ISA.
|
|
|
|
If this option is selected, the microMIPS ISA will be used.
|
|
|
|
Otherwise, the MIPS32 ISA will be used.
|
|
|
|
|
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
|
2015-02-23 00:53:24 +08:00
|
|
|
default "pic32mz" if ARCH_CHIP_PIC32MZ
|
2012-04-17 21:48:39 +08:00
|
|
|
|
2021-07-20 19:10:10 +08:00
|
|
|
source "arch/mips/src/common/Kconfig"
|
|
|
|
source "arch/mips/src/mips32/Kconfig"
|
|
|
|
source "arch/mips/src/pic32mx/Kconfig"
|
|
|
|
source "arch/mips/src/pic32mz/Kconfig"
|
2012-04-17 21:48:39 +08:00
|
|
|
|
|
|
|
endif
|