Allow building XVC client without libftdi.

Unlike the XVC server, the XVC client does not depend on libftdi, so
building it just depends on having separate flags for enabling it.
This commit is contained in:
Sebastian Marsching
2026-03-01 19:49:07 +01:00
parent 3ae5e5e4a5
commit f2679b01af
6 changed files with 37 additions and 20 deletions
+2 -2
View File
@@ -55,7 +55,7 @@
#ifdef ENABLE_USBBLASTER
#include "usbBlaster.hpp"
#endif
#ifdef ENABLE_XVC
#ifdef ENABLE_XVC_CLIENT
#include "xvc_client.hpp"
#endif
@@ -186,7 +186,7 @@ Jtag::Jtag(const cable_t &cable, const jtag_pins_conf_t *pin_conf,
throw std::exception();
#endif
case MODE_XVC_CLIENT:
#ifdef ENABLE_XVC
#ifdef ENABLE_XVC_CLIENT
_jtag = new XVC_client(ip_adr, port, clkHZ, verbose);
break;
#else