cancel
Showing results for 
Search instead for 
Did you mean: 

header files are missing after generation of code in stm32cubeide

Devika Raju
Associate II

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 ?

4 REPLIES 4
Ons KOOLI
Senior III

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.

Pavel A.
Evangelist III

@Devika Raju​  @Ons KOOLI​  Have you created your folder inside or outside of Core/Inc and Core/Src directories created by CubeIDE?

-- pa

Devika Raju
Associate II

Thanks for your reply.

I created separate folder for keeping own .c and .h files. Not inside of Core folder created by cubeIDE

Devika Raju
Associate II

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.