dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
184 stars 80 forks source link

Add info to README about libusb 0.1 vs 1.0 and libusb-compat #120

Open GrantEdwards opened 1 year ago

GrantEdwards commented 1 year ago

Distros with recent versions of libusb (1.x) need to install libusb-compat to provide the legacy (0.1) API expected by mspdebug. After I figured out that libusb-compat was needed, I realized that was what was meant by the mention of libusb-compact on Arch systems (the typo fooled me the first time I read it). Hopefully it's clearer now.

GrantEdwards commented 1 year ago

I wanted those two commits squashed in the pull request. Apparently I still haven't figured out how to do that...

colintu commented 1 year ago

Note that Debian decided NOT to go with libusb-compat, despite wanting to drop libusb-0.1 it's still available as well as libusb-1.0.

The reasoning was that the new compat layer was very buggy when introduced so not including it was a big incentive for people to migrate to 1.0