Wrong defined HAL_PCDEx_SetConnectionState prototype
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-25 7:32 AM
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 instm32f3xx_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
Labels:
- Labels:
-
STM32Cube MCU Packages
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-01 1:25 AM
Posted on December 01, 2015 at 10:25
Hi ln.thierry,
The issue is reported and will be corrected.Thanks for your feedback.-Shahrzad-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-05 2:21 AM
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.
