Update Y210 preview and debug tooling

This commit is contained in:
Mark.lin
2026-08-04 18:12:05 +08:00
parent 175cd83043
commit 300cbdfd9b
11 changed files with 233 additions and 184 deletions
+1 -7
View File
@@ -18,14 +18,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
option(BUILD_GVFG_SAMPLES "Build GVFG customer samples" ON)
option(GVFG_ENABLE_INTERNAL_DEBUG_API "Export internal GVFG diagnostic APIs" OFF)
option(BUILD_GVFG_INTERNAL_TOOLS "Build internal driver/FPGA diagnostic tools" OFF)
if (BUILD_GVFG_INTERNAL_TOOLS AND NOT GVFG_ENABLE_INTERNAL_DEBUG_API)
message(FATAL_ERROR
"BUILD_GVFG_INTERNAL_TOOLS requires GVFG_ENABLE_INTERNAL_DEBUG_API=ON")
endif()
if (NOT WIN32)
message(FATAL_ERROR "GVFG currently supports Windows only.")
endif()
@@ -43,7 +37,7 @@ install(FILES
DESTINATION ${CMAKE_INSTALL_DOCDIR}
)
if (GVFG_ENABLE_INTERNAL_DEBUG_API)
if (BUILD_GVFG_INTERNAL_TOOLS)
install(FILES
README.md
docs/GVFG_INTERNAL_NOTES.md