Hi
I am working on interfacing USB camera with mini USB port of STM3241G-EVAL. As per my research, I have to add a USB video class driver in my code development using Keil. I found this link of libuvc https://github.com/libuvc/libuvc and it does require to install CMake and libusb prior to this installation.
Can anyone please suggest me the easy way of integrating libusb with Keil? Earlier, I tried adding the libuvc files manually in my code but then it further required pthread library that is again not supported with Keil.
If anyone has done work with USB video class please guide me. I will be very grateful for all the help.
Thanks
That libusb says it's for "Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris userspace". Does any of those sound like "bare-metal ARM system" to you?
Thanks for replying Broeker
You are right it does not say that it has support for bare metal ARM system. I actually could not find much information on USB video class interface with STM3241G board. I only found very few resources and libusb was one of those. I was not sure if there is any way that I can make it work with Keil example application.
USB video class is not directly supported with MW.But you can try to implement it using the USB custom class:https://www.keil.com/pack/doc/mw/USB/html/_custom_class.html
Thank you Sankalp Agarwal for the suggestion. I will definitely implement the custom class in my code.
Thanks a lot
MHansra said:STM3241G-EVAL
This:
So why not just use the ST Camera plug-in ?
At least to get you started - then, once you are familiar with what that involves, you'll be in a better position to adapt to a different camera ...
Thank you for your reply. The camera onboard is interfaced with I2C and for my project, I have to use a USB camera from econ systems. Because of the different hardware connections, I thought to spend time researching USB video class.