cancel
Showing results for 
Search instead for 
Did you mean: 

Cube MX for STM32H735G-DK not generating USB_DEVICE folder

Stefan Meyre
Associate III

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

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

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

Stefan Meyre
Associate III

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

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