mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
cmake nuttx stackcheck fix for current master
This commit is contained in:
committed by
Lorenz Meier
parent
7cf8b3ea1b
commit
b0b2cfaa65
@@ -204,7 +204,7 @@ function(px4_nuttx_add_export)
|
|||||||
|
|
||||||
# Read defconfig to see if CONFIG_ARMV7M_STACKCHECK is yes
|
# Read defconfig to see if CONFIG_ARMV7M_STACKCHECK is yes
|
||||||
# note: CONFIG will be BOARD in the future evaluation of ${hw_stack_check_${CONFIG}
|
# note: CONFIG will be BOARD in the future evaluation of ${hw_stack_check_${CONFIG}
|
||||||
file(STRINGS "${CMAKE_SOURCE_DIR}/nuttx-configs/${CONFIG}/${config_nuttx_config}/defconfig"
|
file(STRINGS "${CMAKE_SOURCE_DIR}/nuttx-configs/${CONFIG}/nsh/defconfig"
|
||||||
hw_stack_check_${CONFIG}
|
hw_stack_check_${CONFIG}
|
||||||
REGEX "CONFIG_ARMV7M_STACKCHECK=y"
|
REGEX "CONFIG_ARMV7M_STACKCHECK=y"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user