2020-12-29 01:51 AM
Hi
I am using STM32H735G discovery board and did select the USB_OTG_HS as a virtual com port. Usually CubeMX is generating the necessary middleware / USB_DEVICE folder with all the functions to use (works for the Nucleo-F767ZI just fine). How and from where can I manually copy the USB drivers from?
Stefan
2020-12-29 02:02 AM
Hello @Stefan Meyre ,
Please use the latest CubeMX version, issue not reproduced on my side.
If you still face a problem, please share your ioc file to check it.
Thanks, Khouloud
2020-12-29 01:01 PM
Hi Khouloud
I do use a project generated with the Touch GFX Designer. I just tried to get a VCP running with the STM32H735G-DK out of CubeMX and you are right, no problem there. For some reason, the Touch GFX Designer does not provide in the project tree the .h files. And so for the provided USB class files the compiler can not find usdb.h.
The code generated of CubeMX provides all inc/scr files needed... Any idea?
Thank you, Stefan
2020-12-30 01:59 AM
Maybe There's some missing configurations, I recommend you to use CubeMX as all files needed are generated.
If you face an issue from there, you need to share it and we will fix it.
Thanks for your feedback, Khouloud