projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added parameter to specify one stlink v2 of many
[fw/stlink]
/
src
/
stlink-usb.h
diff --git
a/src/stlink-usb.h
b/src/stlink-usb.h
index 2f3b8cc3ed7f84c17994debaaa68da442aaf86bd..d7e745f514bc0af57e325a46244c8ac337b10f85 100644
(file)
--- a/
src/stlink-usb.h
+++ b/
src/stlink-usb.h
@@
-1,4
+1,4
@@
-/*
+/*
* File: stlink-usb.h
* Author: karl
*
* File: stlink-usb.h
* Author: karl
*
@@
-12,9
+12,9
@@
extern "C" {
#endif
extern "C" {
#endif
-#include <libusb
-1.0/libusb
.h>
+#include <libusb.h>
#include "stlink-common.h"
#include "stlink-common.h"
-
+
#define STLINK_SG_SIZE 31
#define STLINK_CMD_SIZE 16
#define STLINK_SG_SIZE 31
#define STLINK_CMD_SIZE 16
@@
-29,8
+29,8
@@
extern "C" {
unsigned int sg_transfer_idx;
unsigned int cmd_len;
};
unsigned int sg_transfer_idx;
unsigned int cmd_len;
};
-
- stlink_t* stlink_open_usb(const int verbose);
+
+ stlink_t* stlink_open_usb(const int verbose
, int reset, char *p_usb_iserial
);
#ifdef __cplusplus
#ifdef __cplusplus