cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong defined HAL_PCDEx_SetConnectionState prototype

thln47
Associate III
Posted on November 25, 2015 at 16:32

Hi, I try to use the new STM32F3xx_HAL_Driver for USB stack.

And my function HAL_PCDEx_SetConnectionState in my ''hal msp module'' is never called.

So, I notice that the prototype of this function is not correctly defined in

stm32f3xx_hal_pdc_ex.h

(line 124)

__weak void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);

 

The propotype shoud be defined without ''__weak'' statement as below :

void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);

#hal_pcdex_setconnectionstate
2 REPLIES 2
Posted on December 01, 2015 at 10:25

Hi ln.thierry,

The issue is reported and will be corrected.

Thanks for your feedback.

-Shahrzad-

Amel NASRI
ST Employee
Posted on February 05, 2016 at 11:21

Hi ln.thierry,

The reported bug is fixed in STM32CubeF3 V1.4.0 currently available on the web.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.