mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
px4_impl_os:Use the defconfig CONFIG_ARMV7M_STACKCHECK
To enable coherent runtime stack checking use the boards CONFIG_ARMV7M_STACKCHECK setting
This commit is contained in:
parent
a6dabbbae7
commit
4f2aa51767
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user