summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/arm/src/armv7-m/Kconfig18
1 files changed, 12 insertions, 6 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/Kconfig b/nuttx/arch/arm/src/armv7-m/Kconfig
index 750229be1..b8c3cb817 100644
--- a/nuttx/arch/arm/src/armv7-m/Kconfig
+++ b/nuttx/arch/arm/src/armv7-m/Kconfig
@@ -115,12 +115,18 @@ config ARMV7M_STACKCHECK
default n
depends on ARMV7M_HAVE_STACKCHECK
---help---
- This check uses R10 to check for a stack overflow within each function
- call. This has performances and code size impacts, but it will be able to
- catch hard to find stack overflows.
-
- Currently only available only for the STM32 architecture. The changes
- are not complex and patches for other architectures will be accepted.
+ This check uses R10 to check for a stack overflow within each
+ function call. This has performances and code size impacts, but it
+ will be able to catch hard to find stack overflows.
+
+ Currently only available only for the STM32, SAM3/4 and SAMA5D
+ architectures. The changes are not complex and patches for
+ other architectures will be accepted.
+
+ This option requires that you are using a GCC toolchain and that
+ you also include -finstrument-functions in your CFLAGS when you
+ compile. This addition to your CFLAGS should probably be added
+ to the definition of the CFFLAGS in your board Make.defs file.
config ARMV7M_ITMSYSLOG
bool "ITM SYSLOG support"