Question
Single Library for USB on all STM32 devices?
Posted on October 19, 2012 at 13:18
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.zipAnd 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.zipIs 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) #stm32f103-vcp #stm32-usb-vcom-library-f1-f4