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:
patacongo 2012-11-29 18:44:02 +00:00
parent b4be6e48a8
commit 9b1ea99dec
5 changed files with 33 additions and 15 deletions

View File

@ -111,6 +111,10 @@ config ARCH_DMA
bool
default n
config ARCH_IRQPRIO
bool
default n
config ARCH_STACKDUMP
bool "Dump stack on assertions"
default n

View File

@ -46,6 +46,7 @@ config ARCH_CHIP_KINETIS
bool "Freescale Kinetis"
select ARCH_CORTEXM4
select ARCH_HAVE_MPU
select ARCH_IRQPRIO
---help---
Freescale Kinetis Architectures (ARM Cortex-M4)
@ -53,6 +54,7 @@ config ARCH_CHIP_LM3S
bool "TI Stellaris"
select ARCH_CORTEXM3
select ARCH_HAVE_MPU
select ARCH_IRQPRIO
---help---
TI Stellaris LMS3 architecutres (ARM Cortex-M3)
@ -60,6 +62,7 @@ config ARCH_CHIP_LPC17XX
bool "NXP LPC17xx"
select ARCH_CORTEXM3
select ARCH_HAVE_MPU
select ARCH_IRQPRIO
---help---
NXP LPC17xx architectures (ARM Cortex-M3)
@ -91,6 +94,7 @@ config ARCH_CHIP_LPC43XX
select ARCH_HAVE_CMNVECTOR
select ARMV7M_CMNVECTOR
select ARCH_HAVE_MPU
select ARCH_IRQPRIO
---help---
NPX LPC43XX architectures (ARM Cortex-M4).
@ -98,6 +102,7 @@ config ARCH_CHIP_SAM3U
bool "Atmel AT91SAM3U"
select ARCH_CORTEXM3
select ARCH_HAVE_MPU
select ARCH_IRQPRIO
---help---
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
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
int "Delay loops per millisecond"
default 5000

View File

@ -10,6 +10,8 @@ choice
config ARCH_CHIP_PIC32MX
bool "PIC32MX"
select ARCH_MIPS32
select ARCH_IRQPRIO
---help---
Microchip PIC32MX320F032H (MIPS32)
@ -17,7 +19,7 @@ endchoice
config ARCH_MIPS32
bool
default y if ARCH_CHIP_PIC32MX
default n
config ARCH_FAMILY
string
@ -27,12 +29,6 @@ config ARCH_CHIP
string
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
int "Delay loops per millisecond"
default 5000

View File

@ -12,21 +12,29 @@ choice
config ARCH_CHIP_Z16F2810
bool "Z16F2810"
select ARCH_CHIP_Z16F
select ARCH_IRQPRIO
---help---
ZiLOG Z16F2810
config ARCH_CHIP_Z16F2811
bool "Z16F2811"
select ARCH_CHIP_Z16F
select ARCH_IRQPRIO
---help---
ZiLOG Z16F2811
config ARCH_CHIP_Z16F3211
bool "Z16F321"
bool "Z16F3211"
select ARCH_CHIP_Z16F
select ARCH_IRQPRIO
---help---
ZiLOG Z16F321
config ARCH_CHIP_Z16F6411
bool "Z16F6411"
select ARCH_CHIP_Z16F
select ARCH_IRQPRIO
---help---
ZiLOG Z16F6411
@ -34,7 +42,6 @@ endchoice
config ARCH_CHIP_Z16F
bool
default y if ARCH_CHIP_Z16F2810 || ARCH_CHIP_Z16F2811 || ARCH_CHIP_Z16F3211 || ARCH_CHIP_Z16F6411
config ARCH_CHIP
string

View File

@ -6,4 +6,16 @@
if ARCH_CHIP_Z16F
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