-
-
Notifications
You must be signed in to change notification settings - Fork 725
USB host library conflicts with Due USB host library #80
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
Comments
hi @bbx10, can you activate the compilation trace in files->preferences and put here the lines presenting the issue from trace window, please? |
@aethaniel OK here is the compile log for the USB keyboard example build failure after upgrading USBHost to 1.0.4. The example compiled and ran before the upgrade using the built-in USBHost library 1.0.0.
|
solves arduino/ArduinoCore-samd#80, which was caused by USBHost library not having a corresponding .h, thus bypassing the findBestLibraryWithHeader check
solves arduino/ArduinoCore-samd#80, which was caused by USBHost library not having a corresponding .h, thus bypassing the findBestLibraryWithHeader check
Now that arduino/arduino-builder#123 has been merged, this is resolved in the hourly IDE builds. |
Update: The IDE hourly build works fine. Library manager still updates USBHost to 1.0.5 but the keyboard example compiled using the Zero/SAMD built-in USBHost 1.0.0 library. Next I installed SAM/Due board support and switched to board type Due. The keyboard example compiled without errors using the downloaded USBHost 1.0.5 library! Thanks, this makes using native USBHost much easier. I did notice the USBHost examples listed under the File menu are from ~/Arduino/libraries/USBHost/examples even when the board type is Zero. The SAMD/Zero USBHost library has 4 examples while the USBHost 1.0.5 library has 3. |
Hi @bbx10 , |
The library manager recommends updating the USB host library to 1.0.4 but this version does not work on Zero. If the update is done, the keyboard example does not compile. I do not see any way to suppress this message.
IDE 1.6.7 and SAMD board version hourly build.
USB host library 1.0.4 works fine on Due so there is nothing wrong with the library.
The text was updated successfully, but these errors were encountered: