Hi, I came across a software stack tool called USBWare
USBware is an embedded usb software solution stack for ASIC, SOC, hardware and embedded software companies who wish to incorporate USB within their device. The stack is an OS agnostic solution and as such is not depended on the specific environment on the device. The OTG stack enables software and device manufacturers to incorporate standard Host, Peripheral or On-The-Go (OTG) USB connectivity in their embedded products.