summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/armv7-m/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/armv7-m/Kconfig')
-rw-r--r--nuttx/arch/arm/src/armv7-m/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/Kconfig b/nuttx/arch/arm/src/armv7-m/Kconfig
index a154a4c5c..9c55068d5 100644
--- a/nuttx/arch/arm/src/armv7-m/Kconfig
+++ b/nuttx/arch/arm/src/armv7-m/Kconfig
@@ -57,3 +57,9 @@ config ARMV7M_OABI_TOOLCHAIN
---help---
Most of the older buildroot toolchains are OABI and are named arm-nuttx-elf- vs. arm-nuttx-eabi-
+config ARMV7M_STACKCHECK
+ bool "Steck for stack overflow on function calls"
+ default n
+ ---help---
+ This check uses R10 to check for a stack overflow within function calls. This has a performance impact,
+ but will be able to catch hard to find stack overflows.