Skip to main content
MaxR
Associate
August 21, 2018
Solved

Bug in STM32H7 1.3.0 USB generated code

  • August 21, 2018
  • 2 replies
  • 840 views

I am using a STM32H7 USB in MSC mode. When I generate the source code with STM32CUBEMX 4.26.1 and STM32CubeH7 Firmware Package V1.3.0 / 04-July-2018, i noticed that inside USBD_HS_USR_BOSDescriptor() in usbd_desc.c, USBD_HS_BOSDesc definition can not be found. Looks like USBD_HS_BOSDesc is not defined anywhere in code

This topic has been closed for replies.
Best answer by Khouloud GARSI

Hi @MaxR​ ,

I recommend to use STM32CUBEMX 4.27.0 : The "USBD_HS_USR_BOSDescriptor" is correctly defined inside the "usbd_desc.c".

Could you please check from your side.

Khouloud.

2 replies

Khouloud GARSI
Khouloud GARSIBest answer
ST Employee
September 26, 2018

Hi @MaxR​ ,

I recommend to use STM32CUBEMX 4.27.0 : The "USBD_HS_USR_BOSDescriptor" is correctly defined inside the "usbd_desc.c".

Could you please check from your side.

Khouloud.

MaxR
MaxRAuthor
Associate
September 29, 2018

Hi @Khouloud GARSI​ 

Thanks, I confirm. It works on 4.27

Kind regards,

Max