Skip to main content
thln47
Associate III
November 25, 2015
Question

Wrong defined HAL_PCDEx_SetConnectionState prototype

  • November 25, 2015
  • 2 replies
  • 656 views
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
This topic has been closed for replies.

2 replies

Nickname5522_O
Visitor II
December 1, 2015
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
Technical Moderator
February 5, 2016
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.