Makefile for USBHostGiga

Is there a public makefile for USBHostGiga? I understand that the library is in alpha but surely it has had some cursory testing with GIGA. Why isn't the corresponding makefile present in the repository?

Why not post some instructions in the README.MD for users who wish to leverage the library right now (with the understanding that it is still alpha). Thanks.

Regards.

Hi @baqwas. Arduino libraries don't use makefiles.

I'll provide instructions you can follow to install the "USBHostGiga" library in Arduino IDE:

  1. Click the following link to open the library's GitHub repository:
    GitHub - arduino-libraries/USBHostGiga
  2. Click the "<> Code ▾" button.
  3. Select Download ZIP from the menu.
  4. Wait for the download to finish.
  5. Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
  6. Select the downloaded file (USBHostGiga-master.zip).
  7. Click the Open button.
  8. Wait for Arduino IDE to show a "Successfully installed library ... notification.

You can now use the "USBHostGiga" library in your Arduino sketches by adding the following #include directive:

#include <USBHostGiga.h>

You will find an example sketch demonstrating the usage of the library under the File > Examples > USBHostGiga-master menu in Arduino IDE.

The Arduino developers are tracking your request here:

Thank you so much! I'm truly a dummy. Sorry for forgetting the basics.

Regards.

Nothing to apologize for. With so many thousands of libraries available for easy installation via the Arduino IDE Library Manager, the alternative installation methods are not so well known anymore.

Hopefully the library will reach a stable enough development state to be added to Library Manager soon. The community can help with that by trying out the library and providing high quality feedback, so your request to provide the instructions necessary to enable that is entirely reasonable.

Thanks for your understanding, @ptillisch. The last time I installed a custom library was nearly three years ago and the process didn't cross my mind when viewing the USGHostGiga library.

Appreciate all that you do for the community.

Regards.

1 Like

I have not tried using this library, but I am curious to learn how this one differs from the Mbed USB CDC driver, before jumping in.

https://os.mbed.com/docs/mbed-os/v6.16/apis/usbcdc.html

1 Like

Thanks for heads-up, @gerrikoio. My diversionary interests have me busy for a few more weeks but I'll definitely look into this shortly.

Regards.

If you attempt to use USBHostGiga but nothing is connected to the USB port, nothing ever happens (that I can see). A timeout would be a nice addition. Thanks to the developers, though, for their work on this library, and for posting it. I hope work continues on it!

Hi @laramsey. You can submit your suggestion as an issue in the issue tracker of the project's GitHub repository:

That will be the most effective way of communicating it to the library developers and allowing the developers to effectively track the task.