On Sun, May 20, 2012 at 2:59 AM, Freddie Chopin <[email protected]> wrote: > W dniu 2012-05-19 04:32, Xiaofan Chen pisze: >> I think it does not interfere with stlink. Andreas' patch does not >> use the existing libusb-1.0 infrastructure which Peter Stuge >> strongly dislike. > > I had to add libusb-1.0 lib to my toolchain to build OpenOCD with these > patches, and it made stlink use libusb-1.0 too.
Andreas' patch is based on libusb-1.0, so of course it will dependency to libusb-1.0 under Windows. As for stlink, I think it uses libusb_common.h which can be either use libusb-1.0 (default) or libusb-0.1. The configure option to use libusb-0.1 (instead of the default libusb-1.0) for stlink and Jlink is as followed. --enable-libusb0 Use libusb-0.1 library for USB JTAG devices -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
