2017-09-07 08:47 AM
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 #cubemx2017-09-07 08:52 AM
Good catch..
#define __HAL_RCC_GPIOB_IS_CLK_ENABLED() (READ_BIT(RCC->AHB2ENR, RCC_AHB2ENR_GPIOCEN) != RESET)
2017-09-07 09:00 AM
Hello,
Thanks for highlighting this issue.
I raised it internally and we will update the fix in coming releases.
Kind Regards
Imen