Solved
How to add external files .c and .h files in STM32CubeIDE project
How to add external files .c and .h files in STM32CubeIDE project ,can you please explain steps to add .c and .h files in STM32CUBEIDE project
How to add external files .c and .h files in STM32CubeIDE project ,can you please explain steps to add .c and .h files in STM32CUBEIDE project
Hello,
For .h files, you need to give the path(s) to that files as include paths:
Proprieties -> Settings -> MCC GCC compiler -> Include Paths:

For .c file you need to drag and drop the file to the Project explorer at the level you want. You will get this message:

Click OK. The file will be added to you project.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.