src/xx: cable implementation: rework to use cable_t directly

This commit is contained in:
Gwenhael Goavec-Merou
2022-10-15 16:17:32 +02:00
parent 3e20dc7082
commit 48126cf84c
19 changed files with 59 additions and 71 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
#include <string>
#include <vector>
#include "cable.hpp"
#include "jtagInterface.hpp"
class CmsisDAP: public JtagInterface {
@@ -24,7 +25,7 @@ class CmsisDAP: public JtagInterface {
* \param[in] index: interface number
* \param[in] verbose: verbose level 0 normal, 1 verbose
*/
CmsisDAP(const int vid, const int pid, int index, uint8_t verbose);
CmsisDAP(const cable_t &cable, int index, uint8_t verbose);
~CmsisDAP();