2020-06-01 05: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 ?
2020-06-01 07: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.
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
2020-06-01 09: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
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.