STM32CubeIDE fails to generate main.c correctly form IOC file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-19 4:11 PM
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?
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-20 4:17 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-23 1:55 PM
