summaryrefslogtreecommitdiff
path: root/nuttx/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-01 11:16:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-01 11:16:51 -0600
commit1087c67c2acf53fbe1f549e89be6b70705b87792 (patch)
tree61f1d974a05187e9608eda2e79565654c03d308c /nuttx/Kconfig
parent9741311259ee5434987dc8c9918f29e355d22c4f (diff)
downloadnuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.gz
nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.bz2
nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.zip
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
Diffstat (limited to 'nuttx/Kconfig')
-rw-r--r--nuttx/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/nuttx/Kconfig b/nuttx/Kconfig
index 06cddace3..164324bb0 100644
--- a/nuttx/Kconfig
+++ b/nuttx/Kconfig
@@ -316,6 +316,10 @@ config ARCH_HAVE_STACKCHECK
bool
default n
+config ARCH_HAVE_HEAPCHECK
+ bool
+ default n
+
if DEBUG
config DEBUG_VERBOSE
bool "Enable Debug Verbose Output"
@@ -413,6 +417,13 @@ config DEBUG_STACK
---help---
Enable hooks to check stack usage. Only supported by a few architectures.
+config DEBUG_HEAP
+ bool "Heap usage debug hooks"
+ default n
+ depends on ARCH_HAVE_HEAPCHECK
+ ---help---
+ Enable hooks to check heap usage. Only supported by a few architectures.
+
comment "Driver Debug Options"
config DEBUG_LCD