On Mon, Dec 28, 2020 at 6:04 PM Anders Montonen <[email protected]> wrote:
>
> On 28 Dec 2020, at 12:40, Antonio Borneo <[email protected]> wrote:
> >
> > In OpenOCD there are three adapter's drivers that use libusb0:
> > - USBProg JTAG Programmer
> > - Raisonance RLink JTAG Programmer
> > - Olimex ARM-JTAG-EW Programmer
> >
> > I would like to convert them to libusb1 and drop the dependency from
> > the old libusb0.
> > But, I don't own any of such adapters, so I could only blindly do the
> > conversion without any test!
> > Are there any of you that own such old adapters and would be available
> > to test the patches?
>
> I can test the RLink, if needed. Though it’s been sitting in a box for the 
> last eight years or so, so I wouldn’t be too upset if it was deprecated.

I have just pushed in gerrit
http://openocd.zylin.com/5990/  drivers/arm-jtag-ew: switch to libusb1
http://openocd.zylin.com/5991/  drivers/rlink: switch to libusb1
http://openocd.zylin.com/5992/  drivers/usbprog: switch to libusb1

Not as a trivial conversion as I expected, so errors could be present.
I don't plan to merge any of them before the tag v0.11.0, no rush, but
it would be nice if someone can already test them.

There are some dependency with other patches queued for merge; should
be safer to checkout and use the whole branch, e.g:
git fetch http://openocd.zylin.com/openocd refs/changes/92/5992/1 &&
git checkout FETCH_HEAD
The command above could change if I push new versions, so simply go in
http://openocd.zylin.com/5992/ click on 'download' (top right) and
copy-paste the checkout command.

Thanks
Antonio


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to