cancel
Showing results for 
Search instead for 
Did you mean: 

BUG found! 'USBH_LS_SPEED' undeclared

Not applicable

When trying to compile a project with STM32F4 with USB FS Low Speed 1.5MBit / s this error occurs:

../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_hcd.h:113:38: error: 'USBH_LS_SPEED' undeclared

2 REPLIES 2
Not applicable

I found several references on the internet, all say that the value is 2U:

#define HCD_SPEED_LOW               2U // USBH_LS_SPEED

https://dev.tencent.com/u/codecore/p/MicroPython/git/blob/3d5ffa83180b216fc44fb151771141c12a9c425b/stmhal/hal/inc/stm32f4xx_hal_hcd.h

Mike_ST
ST Employee

Hello,

Thank you for reporting,

We are aware of this problem.