header files are missing after generation of code in stm32cubeide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 5:57 AM
Hi all,
I am developing stm32l4 application. In my project I created one folder. In that folder I added own .c and .h files. I included path of that folder in project settings. Without any errors I could compile. After making changes in .ioc file, code generated, but my .h files from the newly created folder are missing. can anyone help me ?
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
-
STM32L4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 7:42 AM
Hi Devika Raju,
I tried to reproduce what you described. But I had no problem with that.
I created a new project with STM32CubeIDE, added new folder under project directory containing .c and .h files, included path in project setting, add some modifications in ioc file, and regenrate... Everything seems to work good.
Best Regards,
Ons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 11:18 AM
@Devika Raju​ @Ons KOOLI​ Have you created your folder inside or outside of Core/Inc and Core/Src directories created by CubeIDE?
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 9:39 PM
Thanks for your reply.
I created separate folder for keeping own .c and .h files. Not inside of Core folder created by cubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 10:56 PM
sorry...I missed to add one thing.
After creating .c and .h files, I added include path in .mxproject file. After that only I changed .ioc file and regenerated code.
