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:
stm32_usb-fs-device_lib.zip

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:
stm32_f105-07_f2_f4_usb-host-device_lib.zip

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)

Outcomes