summaryrefslogtreecommitdiff
path: root/nuttx/arch/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-09 15:43:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-09 15:43:18 +0000
commit78c6aa16fdd3926e15fa16ebab33ea416031ac11 (patch)
tree9c993b977665a0c00e06690f81a26a760d61831a /nuttx/arch/Kconfig
parent7d909957bf5f3b984d2be3779b02b55d7f42e4bb (diff)
downloadnuttx-78c6aa16fdd3926e15fa16ebab33ea416031ac11.tar.gz
nuttx-78c6aa16fdd3926e15fa16ebab33ea416031ac11.tar.bz2
nuttx-78c6aa16fdd3926e15fa16ebab33ea416031ac11.zip
Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/Kconfig')
-rw-r--r--nuttx/arch/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/nuttx/arch/Kconfig b/nuttx/arch/Kconfig
index 92890be96..13335441e 100644
--- a/nuttx/arch/Kconfig
+++ b/nuttx/arch/Kconfig
@@ -14,23 +14,27 @@ config ARCH_8051
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)
@@ -43,6 +47,7 @@ config ARCH_RGMP
config ARCH_SH
bool "Renesas"
select ARCH_NOINTC
+ select ARCH_HAVE_INTERRUPTSTACK
---help---
Renesas architectures (SH and M16C).
@@ -140,6 +145,18 @@ config DRAM_SIZE
this may be SDRAM or SRAM or any other RAM technology that support
program execution.
+config ARCH_HAVE_INTERRUPTSTACK
+ bool
+
+config ARCH_INTERRUPTSTACK
+ bool "Use interrupt stack"
+ depends on ARCH_HAVE_INTERRUPTSTACK
+ default y
+ ---help---
+ This architecture supports an interrupt stack. If defined, this symbol
+ is the size of the interrupt stack in bytes. If not defined, the user
+ task stacks will be used during interrupt handling.
+
comment "Boot options"
choice