mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
All ZNEO configurations converted to use the mconf/Kconfig tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5401 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -111,6 +111,10 @@ config ARCH_DMA
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config ARCH_IRQPRIO
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config ARCH_STACKDUMP
|
config ARCH_STACKDUMP
|
||||||
bool "Dump stack on assertions"
|
bool "Dump stack on assertions"
|
||||||
default n
|
default n
|
||||||
|
|||||||
+5
-6
@@ -46,6 +46,7 @@ config ARCH_CHIP_KINETIS
|
|||||||
bool "Freescale Kinetis"
|
bool "Freescale Kinetis"
|
||||||
select ARCH_CORTEXM4
|
select ARCH_CORTEXM4
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
Freescale Kinetis Architectures (ARM Cortex-M4)
|
Freescale Kinetis Architectures (ARM Cortex-M4)
|
||||||
|
|
||||||
@@ -53,6 +54,7 @@ config ARCH_CHIP_LM3S
|
|||||||
bool "TI Stellaris"
|
bool "TI Stellaris"
|
||||||
select ARCH_CORTEXM3
|
select ARCH_CORTEXM3
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
TI Stellaris LMS3 architecutres (ARM Cortex-M3)
|
TI Stellaris LMS3 architecutres (ARM Cortex-M3)
|
||||||
|
|
||||||
@@ -60,6 +62,7 @@ config ARCH_CHIP_LPC17XX
|
|||||||
bool "NXP LPC17xx"
|
bool "NXP LPC17xx"
|
||||||
select ARCH_CORTEXM3
|
select ARCH_CORTEXM3
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
NXP LPC17xx architectures (ARM Cortex-M3)
|
NXP LPC17xx architectures (ARM Cortex-M3)
|
||||||
|
|
||||||
@@ -91,6 +94,7 @@ config ARCH_CHIP_LPC43XX
|
|||||||
select ARCH_HAVE_CMNVECTOR
|
select ARCH_HAVE_CMNVECTOR
|
||||||
select ARMV7M_CMNVECTOR
|
select ARMV7M_CMNVECTOR
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
NPX LPC43XX architectures (ARM Cortex-M4).
|
NPX LPC43XX architectures (ARM Cortex-M4).
|
||||||
|
|
||||||
@@ -98,6 +102,7 @@ config ARCH_CHIP_SAM3U
|
|||||||
bool "Atmel AT91SAM3U"
|
bool "Atmel AT91SAM3U"
|
||||||
select ARCH_CORTEXM3
|
select ARCH_CORTEXM3
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
Atmel AT91SAM3U architectures (ARM Cortex-M3)
|
Atmel AT91SAM3U architectures (ARM Cortex-M3)
|
||||||
|
|
||||||
@@ -222,12 +227,6 @@ config PAGING
|
|||||||
If set =y in your configation file, this setting will enable the on-demand
|
If set =y in your configation file, this setting will enable the on-demand
|
||||||
paging feature as described in http://www.nuttx.org/NuttXDemandPaging.html.
|
paging feature as described in http://www.nuttx.org/NuttXDemandPaging.html.
|
||||||
|
|
||||||
config ARCH_IRQPRIO
|
|
||||||
bool "Interrupt priority"
|
|
||||||
default y if ARCH_CORTEXM3 || ARCH_CORTEXM4
|
|
||||||
---help---
|
|
||||||
Select if your board supports interrupt prioritization.
|
|
||||||
|
|
||||||
config BOARD_LOOPSPERMSEC
|
config BOARD_LOOPSPERMSEC
|
||||||
int "Delay loops per millisecond"
|
int "Delay loops per millisecond"
|
||||||
default 5000
|
default 5000
|
||||||
|
|||||||
+3
-7
@@ -10,6 +10,8 @@ choice
|
|||||||
|
|
||||||
config ARCH_CHIP_PIC32MX
|
config ARCH_CHIP_PIC32MX
|
||||||
bool "PIC32MX"
|
bool "PIC32MX"
|
||||||
|
select ARCH_MIPS32
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
Microchip PIC32MX320F032H (MIPS32)
|
Microchip PIC32MX320F032H (MIPS32)
|
||||||
|
|
||||||
@@ -17,7 +19,7 @@ endchoice
|
|||||||
|
|
||||||
config ARCH_MIPS32
|
config ARCH_MIPS32
|
||||||
bool
|
bool
|
||||||
default y if ARCH_CHIP_PIC32MX
|
default n
|
||||||
|
|
||||||
config ARCH_FAMILY
|
config ARCH_FAMILY
|
||||||
string
|
string
|
||||||
@@ -27,12 +29,6 @@ config ARCH_CHIP
|
|||||||
string
|
string
|
||||||
default "pic32mx" if ARCH_CHIP_PIC32MX
|
default "pic32mx" if ARCH_CHIP_PIC32MX
|
||||||
|
|
||||||
config ARCH_IRQPRIO
|
|
||||||
bool "Interrupt priority"
|
|
||||||
default y if ARCH_CHIP_PIC32MX
|
|
||||||
---help---
|
|
||||||
Select if your board supports interrupt prioritization.
|
|
||||||
|
|
||||||
config BOARD_LOOPSPERMSEC
|
config BOARD_LOOPSPERMSEC
|
||||||
int "Delay loops per millisecond"
|
int "Delay loops per millisecond"
|
||||||
default 5000
|
default 5000
|
||||||
|
|||||||
+9
-2
@@ -12,21 +12,29 @@ choice
|
|||||||
|
|
||||||
config ARCH_CHIP_Z16F2810
|
config ARCH_CHIP_Z16F2810
|
||||||
bool "Z16F2810"
|
bool "Z16F2810"
|
||||||
|
select ARCH_CHIP_Z16F
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
ZiLOG Z16F2810
|
ZiLOG Z16F2810
|
||||||
|
|
||||||
config ARCH_CHIP_Z16F2811
|
config ARCH_CHIP_Z16F2811
|
||||||
bool "Z16F2811"
|
bool "Z16F2811"
|
||||||
|
select ARCH_CHIP_Z16F
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
ZiLOG Z16F2811
|
ZiLOG Z16F2811
|
||||||
|
|
||||||
config ARCH_CHIP_Z16F3211
|
config ARCH_CHIP_Z16F3211
|
||||||
bool "Z16F321"
|
bool "Z16F3211"
|
||||||
|
select ARCH_CHIP_Z16F
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
ZiLOG Z16F321
|
ZiLOG Z16F321
|
||||||
|
|
||||||
config ARCH_CHIP_Z16F6411
|
config ARCH_CHIP_Z16F6411
|
||||||
bool "Z16F6411"
|
bool "Z16F6411"
|
||||||
|
select ARCH_CHIP_Z16F
|
||||||
|
select ARCH_IRQPRIO
|
||||||
---help---
|
---help---
|
||||||
ZiLOG Z16F6411
|
ZiLOG Z16F6411
|
||||||
|
|
||||||
@@ -34,7 +42,6 @@ endchoice
|
|||||||
|
|
||||||
config ARCH_CHIP_Z16F
|
config ARCH_CHIP_Z16F
|
||||||
bool
|
bool
|
||||||
default y if ARCH_CHIP_Z16F2810 || ARCH_CHIP_Z16F2811 || ARCH_CHIP_Z16F3211 || ARCH_CHIP_Z16F6411
|
|
||||||
|
|
||||||
config ARCH_CHIP
|
config ARCH_CHIP
|
||||||
string
|
string
|
||||||
|
|||||||
@@ -6,4 +6,16 @@
|
|||||||
if ARCH_CHIP_Z16F
|
if ARCH_CHIP_Z16F
|
||||||
comment "Z16F Configuration Options"
|
comment "Z16F Configuration Options"
|
||||||
|
|
||||||
|
# UART0/1 always enabled
|
||||||
|
|
||||||
|
config Z16F_UART0
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
select ARCH_HAVE_UART0
|
||||||
|
|
||||||
|
config Z16F_UART1
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
select ARCH_HAVE_UART1
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user