mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +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:
@@ -194,8 +194,8 @@ function(px4_os_add_flags)
|
|||||||
-D__DF_NUTTX
|
-D__DF_NUTTX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if("${CONFIG_ARMV7M_STACKCHECK}" STREQUAL "y")
|
||||||
if("${config_nuttx_hw_stack_check_${BOARD}}" STREQUAL "y")
|
message(WARNING !!!!!!!!! CONFIG_ARMV7M_STACKCHECK=${CONFIG_ARMV7M_STACKCHECK} !!!!!!)
|
||||||
set(instrument_flags
|
set(instrument_flags
|
||||||
-finstrument-functions
|
-finstrument-functions
|
||||||
-ffixed-r10
|
-ffixed-r10
|
||||||
|
|||||||
Reference in New Issue
Block a user