diff options
Diffstat (limited to 'nuttx-configs/px4fmu-v2')
-rw-r--r-- | nuttx-configs/px4fmu-v2/nsh/Make.defs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx-configs/px4fmu-v2/nsh/Make.defs b/nuttx-configs/px4fmu-v2/nsh/Make.defs index 4d16f271f..02e2db428 100644 --- a/nuttx-configs/px4fmu-v2/nsh/Make.defs +++ b/nuttx-configs/px4fmu-v2/nsh/Make.defs @@ -56,10 +56,11 @@ ARCHCPUFLAGS = -mcpu=cortex-m4 \ -mfpu=fpv4-sp-d16 \ -mfloat-abi=hard +ifeq ($(CONFIG_ARMV7M_STACKCHECK),y) # enable precise stack overflow tracking INSTRUMENTATIONDEFINES = -finstrument-functions \ -ffixed-r10 - +endif # Pull in *just* libm from the toolchain ... this is grody LIBM = "${shell $(CC) $(ARCHCPUFLAGS) -print-file-name=libm.a}" |