cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE fails to generate main.c correctly form IOC file

Jvan .31
Associate

Hi all, been working on my project for a while with great success using a STM32L496.

As of late when I generate code from my .ioc file that it fails to to add the function name for the GPIO initialization function. Herewith the code generated:

/**

 * @brief GPIO Initialization Function

 * @param None

 * @retval None

 */

{

 GPIO_InitTypeDef GPIO_InitStruct = {0};

Note the lack of a function name.

I've deleted main.c and re-created. Same result. Note that the GPIO Initi function is also missing from main. Apart from this everything else seems to be ok.

Any suggestions?

2 REPLIES 2
Markus GIRDLAND
ST Employee

Do you know a way to recreate this for another project? Or could you share the .ioc file and I'll see if I get the same thing?

Jvan .31
Associate

Please find attached the IOC file