Skip to content
Snippets Groups Projects
Commit 4f2aa517 authored by David Sidrane's avatar David Sidrane
Browse files

px4_impl_os:Use the defconfig CONFIG_ARMV7M_STACKCHECK

  To enable coherent runtime stack checking use the boards
  CONFIG_ARMV7M_STACKCHECK setting
parent a6dabbba
No related branches found
No related tags found
No related merge requests found
......@@ -194,8 +194,8 @@ function(px4_os_add_flags)
-D__DF_NUTTX
)
if("${config_nuttx_hw_stack_check_${BOARD}}" STREQUAL "y")
if("${CONFIG_ARMV7M_STACKCHECK}" STREQUAL "y")
message(WARNING !!!!!!!!! CONFIG_ARMV7M_STACKCHECK=${CONFIG_ARMV7M_STACKCHECK} !!!!!!)
set(instrument_flags
-finstrument-functions
-ffixed-r10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment