Skip to main content
MaxR
Associate
Aug 21, 2018 8:03 AM UTC
Solved

Bug in STM32H7 1.3.0 USB generated code

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.
Khouloud GARSI
Khouloud GARSIBest answer
ST Employee
Sep 26, 2018 5:01 PM UTC

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
Sep 26, 2018 5:01 PM UTC

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
Sep 29, 2018 7:09 AM UTC

Hi @Khouloud GARSI​ 

Thanks, I confirm. It works on 4.27

Kind regards,

Max