AnsweredAssumed Answered

Single Library for USB on all STM32 devices?

Question asked by Gordon Williams on Oct 19, 2012
Latest reply on Mar 25, 2015 by wasserman.eldad
I'm developing some software for multiple STM32 devices. One of the features it needs is a USB Virtual COM port.

I've developed a version that works with USB VCP on the STM32F103 using this library:

And I expected that I could recompile it for STM32F4 devices (such as the F4 Discovery board) with a relatively minor set of changes. But it seems not?

It looks like I have to rewrite with the completely different library:

Is this the case, or is there a single library that presents a single API for using any USB-capable STM32 part as a simple USB device? (without the OTG support)