hosted/jlink: add pid 0x1015 as a valid J-Link debugger
This commit is contained in:
parent
46fd32da5c
commit
eb8b930841
|
@ -35,9 +35,9 @@
|
||||||
|
|
||||||
#define USB_VID_SEGGER 0x1366
|
#define USB_VID_SEGGER 0x1366
|
||||||
|
|
||||||
/* Only two devices PIDS tested so long */
|
|
||||||
#define USB_PID_SEGGER_0101 0x0101
|
#define USB_PID_SEGGER_0101 0x0101
|
||||||
#define USB_PID_SEGGER_0105 0x0105
|
#define USB_PID_SEGGER_0105 0x0105
|
||||||
|
#define USB_PID_SEGGER_1015 0x1015
|
||||||
#define USB_PID_SEGGER_1020 0x1020
|
#define USB_PID_SEGGER_1020 0x1020
|
||||||
|
|
||||||
static uint32_t emu_caps;
|
static uint32_t emu_caps;
|
||||||
|
@ -184,6 +184,7 @@ int jlink_init(bmp_info_t *info)
|
||||||
continue;
|
continue;
|
||||||
if ((desc.idProduct != USB_PID_SEGGER_0101) &&
|
if ((desc.idProduct != USB_PID_SEGGER_0101) &&
|
||||||
(desc.idProduct != USB_PID_SEGGER_0105) &&
|
(desc.idProduct != USB_PID_SEGGER_0105) &&
|
||||||
|
(desc.idProduct != USB_PID_SEGGER_1015) &&
|
||||||
(desc.idProduct != USB_PID_SEGGER_1020))
|
(desc.idProduct != USB_PID_SEGGER_1020))
|
||||||
continue;
|
continue;
|
||||||
int res = libusb_open(dev, &jl->ul_libusb_device_handle);
|
int res = libusb_open(dev, &jl->ul_libusb_device_handle);
|
||||||
|
|
Loading…
Reference in New Issue