-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework PICKit2 programmer to use libhidapi instead of libhid (which will make it work under macOS) #883
Comments
This will be great. We at libusb project recommend to use hidapi for HID device. Impact of this issue -- PICKit 2 is not supported under macOS, as there is no easy way to detach the kernel HID driver. |
PICKit 2 is an HID device and for sure hidapi is the right cross-platform library to use. |
Not so sure if the following enhancement patch can be of some reference value here.
|
+1! I was thinking I could help out with #1004, but my PICkit2 doesn't work with MacOS + Avrdude:
I'm not capable of doing this job by myself, but I can help out with testing if somebody is ready for a task like this! |
Related request after this is done. |
Close this one as not planned until someone is actibely working on this issue. This issue is also linked here. |
Assuming the PicKit2 programmer is a HID device, I suggest to rework the code to use libhidapi, which is available on all platforms. Then we can drop the remaining libhid support for Windows, including the CMake/Automake support.
#882 already removed libhid support for ser_avrdoper, so the pickit.c code is the last one to reference libhid.
The text was updated successfully, but these errors were encountered: