NuttX stackcheck exclude PX4 Matrix and Param

- instrumenting PX4 Matrix and Param methods is too burdensome
 - partially restore px4_fmu-v5_stackcheck and holybro_durandal-v1_stackcheck to match default configs
This commit is contained in:
Daniel Agar
2020-01-06 18:15:55 -05:00
committed by GitHub
parent 5adf23a6a8
commit 7166b867e1
5 changed files with 28 additions and 13 deletions
+4 -2
View File
@@ -78,9 +78,11 @@ function(px4_os_add_flags)
if("${CONFIG_ARMV7M_STACKCHECK}" STREQUAL "y")
message(STATUS "NuttX Stack Checking (CONFIG_ARMV7M_STACKCHECK) enabled")
add_compile_options(
-finstrument-functions
-ffixed-r10
)
-finstrument-functions
# instrumenting PX4 Matrix and Param methods is too burdensome
-finstrument-functions-exclude-file-list=matrix/Matrix.hpp,px4_platform_common/param.h
)
endif()
endfunction()