diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 17:52:52 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-02 17:52:52 +0200 |
commit | 80a7f76152acab6d864047925069516eebea6543 (patch) | |
tree | b27874d230405d85d2043742e6eccc17e3260729 /nuttx/arch/arm/src/stm32/Make.defs | |
parent | 51dfcaa2147d375b9a66c50fd8db8c6f5e6133e4 (diff) | |
download | px4-nuttx-80a7f76152acab6d864047925069516eebea6543.tar.gz px4-nuttx-80a7f76152acab6d864047925069516eebea6543.tar.bz2 px4-nuttx-80a7f76152acab6d864047925069516eebea6543.zip |
Added stack checking for ARMv7M using R10, R10 NOT reserved yet
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Make.defs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs index 15b87ca9e..3b6495857 100644 --- a/nuttx/arch/arm/src/stm32/Make.defs +++ b/nuttx/arch/arm/src/stm32/Make.defs @@ -54,6 +54,10 @@ CMN_CSRCS += up_schedulesigaction.c up_sigdeliver.c up_systemreset.c CMN_CSRCS += up_unblocktask.c up_usestack.c up_doirq.c up_hardfault.c CMN_CSRCS += up_svcall.c up_vfork.c +ifeq ($(CONFIG_ARMV7M_STACKCHECK),y) +CMN_CSRCS += up_stackcheck.c +endif + ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y) CMN_ASRCS += up_exception.S CMN_CSRCS += up_vectors.c |