2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 04:04:59 +02:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "CPU Architecture"
|
|
|
|
default ARCH_ARM
|
|
|
|
|
|
|
|
config ARCH_8051
|
|
|
|
bool "8051"
|
2012-12-11 19:04:04 +01:00
|
|
|
select CUSTOM_STACK
|
2012-04-11 04:04:59 +02:00
|
|
|
---help---
|
|
|
|
Intel 8051 architectures and derivaties
|
|
|
|
|
|
|
|
config ARCH_ARM
|
|
|
|
bool "ARM"
|
2012-09-09 17:43:18 +02:00
|
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
2013-01-07 22:41:20 +01:00
|
|
|
select ARCH_HAVE_VFORK
|
2012-04-11 04:04:59 +02:00
|
|
|
---help---
|
|
|
|
The ARM architectures
|
|
|
|
|
|
|
|
config ARCH_AVR
|
|
|
|
bool "AVR"
|
2012-08-17 16:07:48 +02:00
|
|
|
select ARCH_NOINTC
|
2012-09-09 17:43:18 +02:00
|
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
2012-04-11 04:04:59 +02:00
|
|
|
---help---
|
2012-08-14 00:27:06 +02:00
|
|
|
Atmel 8-bit bit AVR and 32-bit AVR32 architectures
|
2012-04-11 04:04:59 +02:00
|
|
|
|
|
|
|
config ARCH_HC
|
|
|
|
bool "Freescale HC"
|
2012-08-17 16:07:48 +02:00
|
|
|
select ARCH_NOINTC
|
2012-09-09 17:43:18 +02:00
|
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
2012-04-11 04:04:59 +02:00
|
|
|
---help---
|
|
|
|
Freescale HC architectures (M9S12)
|
|
|
|
|
|
|
|
config ARCH_MIPS
|
|
|
|
bool "MIPS"
|
2012-09-09 17:43:18 +02:00
|
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
2012-04-11 04:04:59 +02:00
|
|
|
---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
|
2012-08-17 16:07:48 +02:00
|
|
|
bool "Renesas"
|
|
|
|
select ARCH_NOINTC
|
2012-09-09 17:43:18 +02:00
|
|
|
select ARCH_HAVE_INTERRUPTSTACK
|
2012-04-11 04:04:59 +02:00
|
|
|
---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"
|
2012-09-06 01:02:43 +02:00
|
|
|
select ARCH_HAVE_HEAP2
|
2012-04-11 04:04:59 +02:00
|
|
|
---help---
|
|
|
|
ZiLOG ZNEO 16-bit architectures (z16f).
|
|
|
|
|
|
|
|
config ARCH_Z80
|
|
|
|
bool "z80"
|
2012-09-06 01:02:43 +02:00
|
|
|
select ARCH_HAVE_HEAP2
|
2012-04-11 04:04:59 +02:00
|
|
|
---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
|
2012-08-17 16:07:48 +02:00
|
|
|
|
2013-03-28 18:12:11 +01:00
|
|
|
menu "External Memory Configuration"
|
2013-01-18 23:42:37 +01:00
|
|
|
|
|
|
|
config ARCH_HAVE_EXTNAND
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAVE_EXTNOR
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAVE_EXTDRAM
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAVE_EXTSRAM0
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_HAVE_EXTSRAM1
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_EXTNAND
|
|
|
|
bool "Configure external NAND"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_EXTNAND
|
|
|
|
---help---
|
|
|
|
Configure external NAND memory and, if applicable, map then external
|
|
|
|
NAND into the memory map.
|
|
|
|
|
|
|
|
if ARCH_EXTNAND
|
|
|
|
|
|
|
|
config ARCH_EXTNANDSIZE
|
|
|
|
int "External NAND size"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Size of the external NAND in bytes.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config ARCH_EXTNOR
|
|
|
|
bool "Configure external NOR memory"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_EXTNOR
|
|
|
|
---help---
|
|
|
|
Configure external NOR memory and, if applicable, map then external
|
|
|
|
NOR into the memory map.
|
|
|
|
|
|
|
|
if ARCH_EXTNOR
|
|
|
|
|
|
|
|
config ARCH_EXTNORSIZE
|
|
|
|
int "External NOR size"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Size of the external NOR in bytes.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config ARCH_EXTDRAM
|
|
|
|
bool "Configure external DRAM"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_EXTDRAM
|
|
|
|
---help---
|
|
|
|
Configure external DRAM memory and, if applicable, map then external
|
|
|
|
DRAM into the memory map.
|
|
|
|
|
|
|
|
if ARCH_EXTDRAM
|
|
|
|
|
|
|
|
config ARCH_EXTDRAMSIZE
|
|
|
|
int "External SDRAM size"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Size of the external SDRAM in bytes.
|
|
|
|
|
2013-02-12 22:27:51 +01:00
|
|
|
choice
|
|
|
|
prompt "SDRAM Width Selection"
|
|
|
|
default ARCH_CHIP_STM32F103ZET6
|
|
|
|
depends on ARCH_CHIP_STM32
|
|
|
|
|
|
|
|
config ARCH_SDRAM_8BIT
|
|
|
|
bool "8-bit"
|
|
|
|
|
|
|
|
config ARCH_SDRAM_16BIT
|
|
|
|
bool "16-bit"
|
|
|
|
|
|
|
|
config ARCH_SDRAM_32BIT
|
|
|
|
bool "32-bit"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2013-01-18 23:42:37 +01:00
|
|
|
config ARCH_EXTDRAMHEAP
|
|
|
|
bool "Add external SDRAM to the heap"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Add the external SDRAM into the heap.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM0
|
|
|
|
bool "Configure external SRAM (Bank 0)"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_EXTSRAM0
|
|
|
|
---help---
|
|
|
|
Configure external SRAM Bank 0 memory and, if applicable, map then
|
|
|
|
external SRAM Bank 0 into the memory map.
|
|
|
|
|
|
|
|
if ARCH_EXTSRAM0
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM0SIZE
|
|
|
|
int "External SRAM size"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Size of the external SRAM Bank 0 in bytes.
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM0HEAP
|
|
|
|
bool "Add external SRAM (Bank 0) to the heap"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Add external SRAM Bank 0 into the heap.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM1
|
|
|
|
bool "Configure external SRAM (Bank 1)"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_EXTSRAM1
|
|
|
|
---help---
|
|
|
|
Configure external SRAM Bank 1 memory and, if applicable, map then
|
|
|
|
external SRAM Bank 1 into the memory map.
|
|
|
|
|
|
|
|
if ARCH_EXTSRAM1
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM1SIZE
|
|
|
|
int "External SRAM1 size"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Size of the external SRAM Bank 1 in bytes.
|
|
|
|
|
|
|
|
config ARCH_EXTSRAM1HEAP
|
|
|
|
bool "Add external SRAM (Bank 1) to the heap"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Add external SRAM Bank 1 into the heap.
|
|
|
|
|
|
|
|
endif
|
2013-03-28 18:12:11 +01:00
|
|
|
endmenu
|
2013-01-18 23:42:37 +01:00
|
|
|
|
2012-08-17 16:07:48 +02:00
|
|
|
comment "Architecture Options"
|
|
|
|
|
|
|
|
config ARCH_NOINTC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2013-01-14 23:06:19 +01:00
|
|
|
config ARCH_VECNOTIRQ
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-09-11 00:26:37 +02:00
|
|
|
config ARCH_DMA
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-11-29 19:44:02 +01:00
|
|
|
config ARCH_IRQPRIO
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-12-11 19:04:04 +01:00
|
|
|
config CUSTOM_STACK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ADDRENV
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2013-01-07 22:41:20 +01:00
|
|
|
config ARCH_HAVE_VFORK
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-08-17 16:07:48 +02:00
|
|
|
config ARCH_STACKDUMP
|
|
|
|
bool "Dump stack on assertions"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable to do stack dumps after assertions
|
|
|
|
|
2012-11-28 18:50:28 +01:00
|
|
|
config ENDIAN_BIG
|
|
|
|
bool "Big Endian Architecture"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select if architecture operates using big-endian byte ordering.
|
|
|
|
|
2013-01-14 23:06:19 +01:00
|
|
|
config ARCH_HAVE_RAMFUNCS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_RAMFUNCS
|
|
|
|
bool "Copy functions to RAM on startup"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_RAMFUNCS
|
|
|
|
---help---
|
|
|
|
Copy some functions to RAM at boot time. This is done in some
|
|
|
|
architectures to improve performance. In other cases, it is done
|
|
|
|
so that FLASH can be reconfigured while the MCU executes out of
|
|
|
|
SRAM.
|
|
|
|
|
2013-03-18 22:10:08 +01:00
|
|
|
config ARCH_HAVE_RAMVECTORS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_RAMVECTORS
|
|
|
|
bool "Support RAM interrupt vectors"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_RAMVECTORS
|
|
|
|
---help---
|
|
|
|
If ARCH_RAMVECTORS is defined, then the architecture will support
|
|
|
|
modifiable vectors in a RAM-based vector table.
|
|
|
|
|
2012-08-17 16:07:48 +02:00
|
|
|
comment "Board Settings"
|
|
|
|
|
|
|
|
config BOARD_LOOPSPERMSEC
|
2013-02-26 22:53:12 +01:00
|
|
|
int "Delay loops per millisecond"
|
|
|
|
default 5000
|
|
|
|
---help---
|
|
|
|
Simple delay loops are used by some logic, especially during boot-up,
|
|
|
|
driver initialization. These delay loops must be calibrated for each
|
|
|
|
board in order to assure accurate timing by the delay loops.
|
|
|
|
|
|
|
|
config ARCH_CALIBRATION
|
|
|
|
bool "Calibrate delay loop"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
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 BOARD_LOOPSPERMSEC. You simply use a stop
|
|
|
|
watch to measure the actual delay then adjust BOARD_LOOPSPERMSEC until
|
|
|
|
the actual delay is 100 seconds.
|
2012-08-17 16:07:48 +02:00
|
|
|
|
|
|
|
config DRAM_START
|
2012-09-06 22:08:25 +02:00
|
|
|
hex "DRAM start physical address"
|
2012-08-17 16:07:48 +02:00
|
|
|
help
|
2012-09-06 22:08:25 +02:00
|
|
|
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.
|
2012-08-17 16:07:48 +02:00
|
|
|
|
|
|
|
config DRAM_SIZE
|
|
|
|
int "DRAM size"
|
|
|
|
help
|
2012-09-06 22:08:25 +02:00
|
|
|
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.
|
|
|
|
|
2012-09-09 17:43:18 +02:00
|
|
|
config ARCH_HAVE_INTERRUPTSTACK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_INTERRUPTSTACK
|
2012-09-17 20:35:37 +02:00
|
|
|
int "Interrupt Stack Size"
|
2012-09-09 17:43:18 +02:00
|
|
|
depends on ARCH_HAVE_INTERRUPTSTACK
|
2012-09-17 20:35:37 +02:00
|
|
|
default 0
|
2012-09-09 17:43:18 +02:00
|
|
|
---help---
|
|
|
|
This architecture supports an interrupt stack. If defined, this symbol
|
2012-09-17 20:35:37 +02:00
|
|
|
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.
|
2012-09-09 17:43:18 +02:00
|
|
|
|
2012-09-06 22:08:25 +02:00
|
|
|
comment "Boot options"
|
|
|
|
|
|
|
|
choice
|
2012-09-08 20:57:57 +02:00
|
|
|
prompt "Boot Mode"
|
2012-09-06 22:08:25 +02:00
|
|
|
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
|