mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 01:48:50 +02:00
xvc_client: Xilinx Virtual Cable client PoC
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
#include "dirtyJtag.hpp"
|
||||
#include "part.hpp"
|
||||
#include "usbBlaster.hpp"
|
||||
#ifdef ENABLE_XVC_CLIENT
|
||||
#include "xvc_client.hpp"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -115,6 +118,11 @@ void Jtag::init_internal(cable_t &cable, const string &dev, const string &serial
|
||||
case MODE_CMSISDAP:
|
||||
_jtag = new CmsisDAP(cable.config.vid, cable.config.pid, _verbose);
|
||||
break;
|
||||
#endif
|
||||
#ifdef ENABLE_XVC_CLIENT
|
||||
case MODE_XVC_CLIENT:
|
||||
_jtag = new XVC_client("127.0.0.1", clkHZ, _verbose);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
std::cerr << "Jtag: unknown cable type" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user