2016-10-05 09:05 AM
Hello
__HAL_RCC_GPIOE_CLK_ENABLE(); could not resolvedI'm a beginner all my Clock stuff is telling me this In stm32f4xx_hal_conf.h I enabled#define HAL_RCC_MODULE_ENABLEDbut i have no idea what course this Problem.2016-10-05 11:12 AM
Ok, and what files do you #include in the file that spawns this error? What defines are being passed to the compiler?
2016-10-06 04:01 AM
Hi kunkies.martin_micha,
You should add “stm32f4xx_hal_rcc_ex.c� driver to your workspace, because RCC enable/disable macros are defined in the “stm32f4xx_hal_rcc_ex.h� header.To have an overview of HAL drivers, you refer to the user manual
which contains a Description of all drivers’ APIs and macros.As a best practice to avoid similar misunderstood as a beginner, it is recommend to use the template in the STM32Cube package where all drivers are included and the workspace is ready to use.
For example , in
start, when using STM32F429I-Discovery for template at this path: STM32Cube_FW_F4_V1.13.0\Projects\STM32F429I-Discovery\TemplatesYou can in addition, auto-generated a ready to use template with the configuration and initialization of peripheral the you want to set using
tool.Welcome to our STM32 Community.
-Hannibal-