Skip to main content
ValeriyReut
Visitor II
March 11, 2020
Solved

STM32CubeMX F3 USB bug

  • March 11, 2020
  • 2 replies
  • 770 views

When I have enabled USB Device for stm32f3discovery, the usbd_conf.c had this lines (59..63):

#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
else
void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */

Notice the "else" without hash (#) symbol.

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

​Issue confirmed, it will be fixed.

Thanks for your feedback.

Best Regards

Khouloud

2 replies

Khouloud ZEMMELI
ST Employee
March 12, 2020

​Hello @ValeriyReut​ 

Could you please share your ioc file ?

Thanks,

Khouloud

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
March 12, 2020

​Issue confirmed, it will be fixed.

Thanks for your feedback.

Best Regards

Khouloud