cancel
Showing results for 
Search instead for 
Did you mean: 

undefined reference to `__HAL_RCC_PWR_CLK_ENABLE

pushkarmondhe
Associate II

Hello everyone,i want to dected PVD but when i enable __HAL_RCC_PWR_CLK_ENABLE Iits showing error in stm32h753vit6 why?

2 REPLIES 2
Imen.D
ST Employee

Hello @pushkarmondhe ,

I think you haven't configured the library source and Include paths within the project build.

You have to review the defines and provide the compiler with a list of include file paths.

Ensure that the following header file is included in your source file: #include "stm32h7xx_hal.h".

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hello. @Imen.D

I already add 

#include "stm32h7xx_hal.h"

#include "stm32h7xx_hal_pwr.h"

i provide main.c below please see that one