mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
cmake: NuttX generated vscode launch.json requires DEBUG_DEVICE found
This commit is contained in:
@@ -268,6 +268,9 @@ if(NOT NUTTX_DIR MATCHES "external")
|
||||
)
|
||||
if(DEBUG_SVD_FILE_PATH)
|
||||
message(STATUS "Found SVD: ${DEBUG_SVD_FILE_PATH}")
|
||||
endif()
|
||||
|
||||
if(DEBUG_DEVICE)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Debug/launch.json.in ${PX4_SOURCE_DIR}/.vscode/launch.json @ONLY)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user