Skip to main content
Jvan .31
Associate
February 20, 2020
Question

STM32CubeIDE fails to generate main.c correctly form IOC file

  • February 20, 2020
  • 2 replies
  • 965 views

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?

This topic has been closed for replies.

2 replies

Markus GIRDLAND
ST Employee
February 20, 2020

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
Jvan .31Author
Associate
February 23, 2020

Please find attached the IOC file