Skip to main content
Stefan Meyre
Associate III
December 29, 2020
Question

Cube MX for STM32H735G-DK not generating USB_DEVICE folder

  • December 29, 2020
  • 3 replies
  • 1087 views

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

This topic has been closed for replies.

3 replies

Khouloud ZEMMELI
ST Employee
December 29, 2020

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
December 29, 2020

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

Khouloud ZEMMELI
ST Employee
December 30, 2020

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