HAL_RCC STM32L4 bug in definition
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-07 8:47 AM
Posted on September 07, 2017 at 17:47
Hi,
I found a bug in the last version of
stm32l4xx_hal_rcc.h from stm32L4 uC.
file: stm32l4xx_hal_rcc.h/.c
version 1.7.2
&sharpdefine __HAL_RCC_GPIOB_IS_CLK_ENABLED()
it should refer to RCC_AHB2ENR_GPIOBEN instead of RCC_AHB2ENR_GPIOCEN
thanks,
#stm32l4 #cubemx
Labels:
- Labels:
-
STM32CubeMX
-
STM32L4 series
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
‎2017-09-07 8:52 AM
Posted on September 07, 2017 at 17:52
Good catch..
#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-09-07 9:00 AM
Posted on September 07, 2017 at 18:00
Hello,
Thanks for highlighting this issue.
I raised it internally and we will update the fix in coming releases.
Kind Regards
Imen
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Thanks
Imen
