cancel
Showing results for 
Search instead for 
Did you mean: 

Main.c Not Generating

Charlton
Associate

Hi I am new to STM32CubeIDE. I am setting up a blue pill board. I don't seem to have any issues with pin configurations however when I try to generate code I only get a refreshed .ioc file with only .project and .ioc in my project folder. Is there something really simple I am missing in my Configuration set up? 

1 ACCEPTED SOLUTION

Accepted Solutions
Mahmoud Ben Romdhane
ST Employee

Hello @Charlton ,

 

First let me thank you for posting and welcome to the ST Community.

Before generating the code, you should set the network connection and log to your ST Account in order to download the firmware package.

I suggest that you take a look at STM32CubeIDE user guide - User manual section 2.1.2.1 Creating a new STM32 executable project.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @Charlton ,

 

First let me thank you for posting and welcome to the ST Community.

Before generating the code, you should set the network connection and log to your ST Account in order to download the firmware package.

I suggest that you take a look at STM32CubeIDE user guide - User manual section 2.1.2.1 Creating a new STM32 executable project.

 

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hi @Mahmoud Ben Romdhane 

Thank you so much for your help! I was able to get code to generate by going through the section 2.1.2.1 and went to the firmware library setup rather than just finishing which told me to sign in through the ST account* which set up the firmware package like you said. 

Thanks!

Charlton

*Help-> STM32Cube updates -> Connection to myST