Hi every body! I'm Cong. I am beginner in coding STM32. Currently, I'm coding a project with: - STM32F103VET6 - Configuration tool: STM32CubeMX - DEV tool: Keil uVision5 Can you tell me the solutions to add header files to project (step by step), please? Many thanks!
Create the header file in the project source code folder.
Write #include "my-header-file.h" in the relevant source files.
Or for headers from libraries - open the project settings and include the library directory in the include search path. Then in your source file write #include <my-library-header-file.h>
Hi you, I'll try to do that. Thanks.