How to add external files .c and .h files in STM32CubeIDE project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-04 4:19 AM
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
Solved! Go to Solution.
- Labels:
-
STM32 Security
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-04 4:37 AM - edited ‎2024-07-04 4:37 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-04 4:37 AM - edited ‎2024-07-04 4:37 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-04 4:38 AM
Not entirely sure what you mean by "external", but maybe try this?
A complex system designed from scratch never works and cannot be patched up to make it work.
