7a2692df6a
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
199 lines
4.3 KiB
Plaintext
199 lines
4.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see misc/tools/kconfig-language.txt.
|
|
#
|
|
|
|
choice
|
|
prompt "CPU Architecture"
|
|
default ARCH_ARM
|
|
|
|
config ARCH_8051
|
|
bool "8051"
|
|
---help---
|
|
Intel 8051 architectures and derivaties
|
|
|
|
config ARCH_ARM
|
|
bool "ARM"
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
|
---help---
|
|
The ARM architectures
|
|
|
|
config ARCH_AVR
|
|
bool "AVR"
|
|
select ARCH_NOINTC
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
|
---help---
|
|
Atmel 8-bit bit AVR and 32-bit AVR32 architectures
|
|
|
|
config ARCH_HC
|
|
bool "Freescale HC"
|
|
select ARCH_NOINTC
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
|
---help---
|
|
Freescale HC architectures (M9S12)
|
|
|
|
config ARCH_MIPS
|
|
bool "MIPS"
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
|
---help---
|
|
MIPS architectures (PIC32)
|
|
|
|
config ARCH_RGMP
|
|
bool "RGMP"
|
|
---help---
|
|
RTOS and GPOS on Multi-Processor (RGMP) architecture. See
|
|
http://rgmp.sourceforge.net/wiki/index.php/Main_Page.
|
|
|
|
config ARCH_SH
|
|
bool "Renesas"
|
|
select ARCH_NOINTC
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
|
---help---
|
|
Renesas architectures (SH and M16C).
|
|
|
|
config ARCH_SIM
|
|
bool "Simulation"
|
|
---help---
|
|
Linux/Cywgin user-mode simulation.
|
|
|
|
config ARCH_X86
|
|
bool "x86"
|
|
---help---
|
|
Intel x86 architectures.
|
|
|
|
config ARCH_Z16
|
|
bool "ZNEO"
|
|
select ARCH_HAVE_HEAP2
|
|
---help---
|
|
ZiLOG ZNEO 16-bit architectures (z16f).
|
|
|
|
config ARCH_Z80
|
|
bool "z80"
|
|
select ARCH_HAVE_HEAP2
|
|
---help---
|
|
ZiLOG 8-bit architectures (z80, ez80, z8).
|
|
|
|
endchoice
|
|
|
|
config ARCH
|
|
string
|
|
default "8051" if ARCH_8051
|
|
default "arm" if ARCH_ARM
|
|
default "avr" if ARCH_AVR
|
|
default "hc" if ARCH_HC
|
|
default "mips" if ARCH_MIPS
|
|
default "rgmp" if ARCH_RGMP
|
|
default "sh" if ARCH_SH
|
|
default "sim" if ARCH_SIM
|
|
default "x86" if ARCH_X86
|
|
default "z16" if ARCH_Z16
|
|
default "z80" if ARCH_Z80
|
|
|
|
source arch/8051/Kconfig
|
|
source arch/arm/Kconfig
|
|
source arch/avr/Kconfig
|
|
source arch/hc/Kconfig
|
|
source arch/mips/Kconfig
|
|
source arch/rgmp/Kconfig
|
|
source arch/sh/Kconfig
|
|
source arch/sim/Kconfig
|
|
source arch/x86/Kconfig
|
|
source arch/z16/Kconfig
|
|
source arch/z80/Kconfig
|
|
|
|
comment "Architecture Options"
|
|
|
|
config ARCH_NOINTC
|
|
bool
|
|
default n
|
|
|
|
config ARCH_DMA
|
|
bool
|
|
default n
|
|
|
|
config ARCH_STACKDUMP
|
|
bool "Dump stack on assertions"
|
|
default n
|
|
---help---
|
|
Enable to do stack dumps after assertions
|
|
|
|
comment "Board Settings"
|
|
|
|
config BOARD_LOOPSPERMSEC
|
|
int "Loops per millisecond"
|
|
help
|
|
Must be calibrated for correct operation of delay loops.
|
|
You simply use a stop watch to measure the 100 second delay
|
|
then adjust CONFIG_BOARD_LOOPSPERMSEC until it is actually
|
|
is 100 seconds.
|
|
|
|
config DRAM_START
|
|
hex "DRAM start physical address"
|
|
help
|
|
The physical start address of installed RAM. Despite the naming,
|
|
this may be SDRAM or SRAM or any other RAM technology that support
|
|
program execution.
|
|
|
|
config DRAM_VSTART
|
|
hex "DRAM start virtual address"
|
|
depends on ARCH_HAVE_MMU
|
|
help
|
|
The virtual start address of installed RAM. Despite the naming,
|
|
this may be SDRAM or SRAM or any other RAM technology that support
|
|
program execution.
|
|
|
|
config DRAM_SIZE
|
|
int "DRAM size"
|
|
help
|
|
The size in bytes of the installed RAM. Despite the naming,
|
|
this may be SDRAM or SRAM or any other RAM technology that support
|
|
program execution.
|
|
|
|
config ARCH_HAVE_INTERRUPTSTACK
|
|
bool
|
|
|
|
config ARCH_INTERRUPTSTACK
|
|
int "Interrupt Stack Size"
|
|
depends on ARCH_HAVE_INTERRUPTSTACK
|
|
default 0
|
|
---help---
|
|
This architecture supports an interrupt stack. If defined, this symbol
|
|
will be the size of the interrupt stack in bytes. If not defined (or
|
|
defined to be zero), the user task stacks will be used during interrupt
|
|
handling.
|
|
|
|
comment "Boot options"
|
|
|
|
choice
|
|
prompt "Boot Mode"
|
|
default BOOT_RUNFROMFLASH
|
|
|
|
config BOOT_RUNFROMEXTSRAM
|
|
bool "Run from external SRAM"
|
|
---help---
|
|
Some configuration support booting and running from external SRAM.
|
|
|
|
config BOOT_RUNFROMFLASH
|
|
bool "Boot and run from flash"
|
|
---help---
|
|
Most configurations support XIP operation from FLASH but must copy
|
|
initialized .data sections to RAM. (This is the default).
|
|
|
|
config BOOT_RUNFROMISRAM
|
|
bool "Boot and run from internal SRAM"
|
|
---help---
|
|
Some configuration support booting and running from internal SRAM.
|
|
|
|
config BOOT_RUNFROMSDRAM
|
|
bool "Boot and run from external SDRAM"
|
|
---help---
|
|
Some configuration support booting and running from external SDRAM.
|
|
|
|
config BOOT_COPYTORAM
|
|
bool "Boot from FLASH but copy to ram"
|
|
---help---
|
|
Some configurations boot in FLASH but copy themselves entirely into
|
|
RAM for better performance.
|
|
|
|
endchoice
|