cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBEIDE - I want to use the structure of the HAL driver in the newly created C file.

sHong.1
Associate II

In the C file I made , there is an error when compiling HAL Driver HAL GPIO header and LL FSMC header in GPIOInitTypeDef structure

If I include HAL_GPIO header and LL_FSMC header in my C file, both error occur

3 REPLIES 3
sHong.1
Associate II

How can I solve this problem?

Include stm32xxxx_hal.h (or main.h)

By learning C programming language and compiling process.

https://www.tutorialspoint.com/cprogramming/c_header_files.htm