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

@@ -40,6 +40,10 @@
#include "./jlink_jtag/jlink_jtag_drv.h"
#endif
#ifdef BS_ENABLE_DIGILENT
#include "./digilent_jtag/digilent_jtag_drv.h"
#endif
#include "drivers_list.h"
const drv_entry staticdrvs[] =
@@ -57,6 +61,9 @@ const drv_entry staticdrvs[] =
#endif
#if defined(__linux__)
{(DRV_GETMODULEINFOS)drv_LinuxGPIO_libGetDrv,0},
#endif
#ifdef BS_ENABLE_DIGILENT
{(DRV_GETMODULEINFOS)drv_Digilent_libGetDrv,0},
#endif
{(DRV_GETMODULEINFOS)-1,0}
};