cancel
Showing results for 
Search instead for 
Did you mean: 

When I start a new project none of the subdirectories are created in IDE 1.19

kmoravec
Associate II

Title edited to correct version number.


I have not programmed in the IDE for a while.  But when I created a project, and edited the .ioc file, and told it to save and create the main.c file it did, and opened the main.c file. 

I am able to create a project, and it lets me go to the MX editor (I am in 1.9.0). I enable a couple of UARTS, 
Then I save. And it asks if I want to generate code, I say yes. And there is no code at all. 

There are only two files in the EPS_PDU_STM32L433RCT3 project directory the 
EPS_PDU_STM32L433RCT3.ioc
.project

None of the subdirectories were created, the main.c was not created. 

This used to work. I must have fat fingered something to screw it up. But I do not know what I did. 

I did see a warning on the project name in the Project Explorer

Description Resource Path Location Type
Project 'EPS_PDU_STM32L433RCT3' has no explicit encoding set EPS_PDU_STM32L433RCT3 /EPS_PDU_STM32L433RCT3 No explicit project encoding

I do not know what that means. I do not think I changed anything. 

kmoravec_0-1765401871898.png

Is that encoding right for Linux? 
It looks like it inherited UTF-8 from linux. Other is UTF-8 what is wrong? 

Is this causing my issue? 

I am used to seeing Core, Debug, Drivers, .settings directories in the project directory. 
Also no .ld linker file and others. 

But in my project directory I have only the two files mentioned earlier. 

What did I screw up? How do I fix it.  

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @kmoravec 

Could you check if the firmware is installed? If not, you should go to Help> Manage embedded software packages and install the missing firmware.

KR, Souhaib

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

3 REPLIES 3
Souhaib MAZHOUD
ST Employee

Hello @kmoravec 

Could you check if the firmware is installed? If not, you should go to Help> Manage embedded software packages and install the missing firmware.

KR, Souhaib

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.

Andrew Neil
Super User

Do you really mean v1.9 - that's very old !

Or do you mean v1.19 - which was the last v1.xx before the current v2.0.0

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes I meant 1.19, sorry about that. People here recommended I stay with 1.19 because 2.0.0 because of the MX separation. 

Thanks for the response. 

Kip