cmake nuttx stackcheck fix for current master

This commit is contained in:
Daniel Agar
2016-05-19 00:21:23 -04:00
committed by Lorenz Meier
parent 7cf8b3ea1b
commit b0b2cfaa65
+1 -1
View File
@@ -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"
) )