mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake NuttX fix generated launch.json (vscode debug)
This commit is contained in:
@@ -176,8 +176,8 @@ add_custom_target(weak_symbols
|
|||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/gdbinit.in ${PX4_BINARY_DIR}/.gdbinit)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/gdbinit.in ${PX4_BINARY_DIR}/.gdbinit)
|
||||||
|
|
||||||
# vscode launch.json
|
# vscode launch.json
|
||||||
# FIXME: hack to skip if px4_io-v2 because it's a build within a build
|
# FIXME: hack to skip if px4_io-v2 because it's a built within another build (eg px4_fmu-v5)
|
||||||
if(NOT PX4_BUILD MATCHES "px4_io-v2")
|
if(NOT PX4_BOARD MATCHES "px4_io-v2")
|
||||||
if(CONFIG_ARCH_CHIP_MK66FN2M0VMD18)
|
if(CONFIG_ARCH_CHIP_MK66FN2M0VMD18)
|
||||||
set(DEBUG_DEVICE "MK66FN2M0xxx18")
|
set(DEBUG_DEVICE "MK66FN2M0xxx18")
|
||||||
set(DEBUG_SVD_FILE "MK66F18.svd")
|
set(DEBUG_SVD_FILE "MK66F18.svd")
|
||||||
|
|||||||
Reference in New Issue
Block a user