cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube file generation problem

evolpi63
Associate II
Posted on April 25, 2014 at 17:17

The STM32Cube 

project file

attached

does not generate

the file

gpio.c

Can someone help me

?
13 REPLIES 13
jarno
Associate III
Posted on June 05, 2014 at 12:12

hermann.uwe wrote: ...restart it by double-clicking the respective *.ioc file. Click on ''Generate Code'' again. The gpio.c files is now gone.

Thanks Herman, since your advice i've opened my project from MX (File -> Load... || Recent...) and the gpio.c file has been generated just fine at each time (...for now). So i to any one struggling with the same issue, close your project (perhaps restart CubeMX too) and open your project from the MX not by double clicking the *.ioc icon.

stm32cube-t
Senior III
Posted on June 17, 2014 at 14:48

Dear All,

Issue confirmed and resolved for MX 4.3 release.

Thank you for reporting it.

mvugs9
Associate II
Posted on December 14, 2015 at 21:05

I have the same problem with cubeMX 4.12 but this time it's pretty random which files are gone. Sometimes main.c or usart.c or another file. Is there a solution for this problem?

My sincerely,

stm32cube-t
Senior III
Posted on February 22, 2016 at 11:12

Can you please share the .ioc file that reveals the issue.

Please verify the project settings option to ''generate peripheral init as pair of.c/.h files per IP'' is checked. This shall ensure the gpio.c file gets generated.