cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX F3 USB bug

ValeriyReut
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

​Issue confirmed, it will be fixed.

Thanks for your feedback.

Best Regards

Khouloud

View solution in original post

2 REPLIES 2
Khouloud ZEMMELI
ST Employee

​Hello @ValeriyReut​ 

Could you please share your ioc file ?

Thanks,

Khouloud

Khouloud ZEMMELI
ST Employee

​Issue confirmed, it will be fixed.

Thanks for your feedback.

Best Regards

Khouloud