Should I use libusb or libxud? Topic is solved

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
dsteinwe
Experienced Member
Posts: 90
Joined: Wed Jun 29, 2016 8:59 am

Should I use libusb or libxud?

Post by dsteinwe »

Hello,

I have seen the project lib_xud v2.0.2 on github. The readme of the project says, that it merges the existing sc_xud and lib_usb and replaces them both. Should I use lib_xud v2.0.2 instead of the lib_usb v3.1.2 from xmos library directory for product development? Does lib_xud contain bug fixes and features, that lib_usb v3.1.2 does not contain? Is lib_usb not compatible to the new AI processors but lib_xud is?

Best regards
Dieter


View Solution
Ralf.Suckow
Junior Member
Posts: 4
Joined: Sun Nov 01, 2020 10:26 pm

Post by Ralf.Suckow »

Yes, yes and yes. The only disadvantage is that lib_xud is not compatible to XS1 processors. The API is almost compatible.

(Just stumbled over your question. Switching fixed some bugs for me last December, including some performance issues.)

/Ralf
User avatar
dsteinwe
Experienced Member
Posts: 90
Joined: Wed Jun 29, 2016 8:59 am

Post by dsteinwe »

Thanks for the info.