This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I can't use '__HAL_RCC_GPIOx_CLK_ENABLE()'

Hi,

i am new with Keil. I tried to blink a led. So, in order to enable clock I looked into "stm32f4xx.h" header file.  And i see that this instruction below  'How to use this driver'

 (#) Enable the GPIO AHB clock using the following function: __HAL_RCC_GPIOx_CLK_ENABLE().

But when i copy this, i get an error and it says:

Undefined symbol __HAL_RCC_GPIOx_CLK_ENABLE()

What is the reason for this?

Best regards.

 

0