digilent: add driver skeleton + CMake option BS_ENABLE_DIGILENT

Stub Digilent JTAG-SMT backend, off by default. Wiring only: option,
conditional sources, dl link, drivers_list registration. Detect()
returns 0 for now; dlopen + real implementation in follow-up commits.
This commit is contained in:
2026-05-23 11:06:43 +02:00
parent 3c1e5f987e
commit 78f6bb9b34
5 changed files with 133 additions and 1 deletions

View File

@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.10)
project(BoundaryScanExplorer)
# Optional backends. Off by default: no proprietary runtime dependency.
option(BS_ENABLE_DIGILENT
"Enable Digilent JTAG-SMT* backend (dlopen libdjtg.so / libdmgr.so at runtime; requires Adept Runtime installed)"
OFF)
# script and jtag_core must be the last linked archive for the application to compile
set(BS_MODULES script jtag_core)
set(DIR_MODULES ${CMAKE_SOURCE_DIR}/modules)