Skip to main content
December 8, 2019
Question

BUG found! 'USBH_LS_SPEED' undeclared

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

Hello,

Thank you for reporting,

We are aware of this problem.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.