cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in STM32H7 1.3.0 USB generated code

MaxR
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud GARSI
Lead II

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.

View solution in original post

2 REPLIES 2
Khouloud GARSI
Lead II

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
Associate II

Hi @Khouloud GARSI​ 

Thanks, I confirm. It works on 4.27

Kind regards,

Max