Showing results for 
Search instead for 
Did you mean: 

USB CDC example for STM32F072 (Disco board)

I bought an STM32F072 disco board specifically to develop a USB CDC application, but I can't now find an example or demo in STM32CubeMX V6.10. I found this thread but has this dropped out of Cube 6.10?


Thanks, just what I was looking for. Sadly it doesn't compile.....

The IAR IDE wont even open some of the files, says it includes an invalid path. Maybe I can fix that.

Update, the folders for the Cube drivers I downloaded from github were all empty, no idea why. I had to download them more or less separately and then patch the include paths to point to where I'd put them. It now compiles!

God these examples are so frustrating! They look CubeMX generated but don't include the CubeMX file so they are almost impossible to modify. I can't even determine the pins used without reverse engineering the C source.

Jan, as ever, you're a star. I'm going to start a new thread to get help with this example.