Skip to main content
December 8, 2019
Question

BUG found! 'USBH_LS_SPEED' undeclared

  • December 8, 2019
  • 2 replies
  • 615 views

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

This topic has been closed for replies.

2 replies

December 8, 2019

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
Technical Moderator
December 9, 2019

Hello,

Thank you for reporting,

We are aware of this problem.