Skip to main content
Devika Raju
Associate II
June 1, 2020
Question

header files are missing after generation of code in stm32cubeide

  • June 1, 2020
  • 4 replies
  • 1425 views

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 ?

This topic has been closed for replies.

4 replies

Ons KOOLI
Associate
June 1, 2020

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.
June 1, 2020

@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
June 2, 2020

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
June 2, 2020

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.