STM32U031C6 undefined reference to __HAL_RCC_IWDG_CLK_ENABLE()
Hi, I started a new project with STM32U031C6. When I enabled Independent watchdog (IWDG), STM32CubeIDE generated the following line in the MX_IWDG_Init function:
__HAL_RCC_IWDG_CLK_ENABLE();
When compiling the project, an error is generated:
undefined reference to '__HAL_RCC_IWDG_CLK_ENABLE'
I could not find such a function either in the drivers included by STM32CubeIDE in the project or in the repository in the STM32CubeIDE installation directory.
This function should enable the APB peripheral clock to the Independent Watchdog (IWDG), but I couldn't find anything for this purpose anywhere in the Reset and Clock Control (RCC) registers.
Does this mean that the APB peripheral clock is always active for the Independent Watchdog (IWDG) and should not be enabled? In other words, is this function unnecessary and can I comment it out?
I would be grateful for any help
