As I understand it, you need a bit of external hardware (a chip that will handle switching for OTG). If you don't care about powering the device you might be able to skip that though.
If you were happy building Espruino without the existing USB support, potentially it wouldn't be too painful to compile in that library and get something working... I have no real idea on the time required though.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
As I understand it, you need a bit of external hardware (a chip that will handle switching for OTG). If you don't care about powering the device you might be able to skip that though.
If you were happy building Espruino without the existing USB support, potentially it wouldn't be too painful to compile in that library and get something working... I have no real idea on the time required though.