Skip to main content
Associate III
Question

Degraded useability of STM32CubeIDE V2.2.0

I just upgraded to STM32CubeIDE  V2.2.0 and have three comments about it.

  • Every time I start the app, the first build project results in a clean, followed by a complete recompile of all files in the project, which takes a long time. Thereafter, there is no clean, and only modified files are recompiled. With the previous version, even after starting the app, only modified files were recompiled.
  • When creating a new project, there was an option to create a project using the structure of an existing project: this saved a lot of time. This feature seems to have disappeared.
  • With the previous version, after creating a new project and an IOC file, the IDE used to add the include directories necessary to build the MX-generated parts of the project. Now, when you create a project, it’s completely empty. After creating an IOC file and generating the code, it is necessary to hunt around for all to the header files necessary to compile the project and add them manually to the project. I was unable to find some header files, and had to exclude the c files that used them from the build. 

I guess the last two changes are related to splitting MX from the IDE.

5 replies

TDK

For 2 and 3, STM32CubeIDE no longer creates STM32 projects. That functionality has been removed and STM32CubeMX must be used to generate new projects.

"If you feel a post has answered your question, please click ""Accept as Solution""."
javalatteAuthor
Associate III

I understand that, and I can see some advantages, both for ST and for users, of separating CubeIDE and CubeMX. My point is that CubeIDE used to edit  .IOC files, and from that, generate .C ,.H and..project files. CubeMX generates only .c and .h files: the user is on their own in generating .project files, and it is not trivial. 

Maybe somebody should look around in the trashcan, find the bit of code that generates an initial .project file from an IOC file, and include it in CubeMX.

TDK

CubeMX generates only .c and .h files: the user is on their own in generating .project files, and it is not trivial. 

STM32CubeMX generates the .project file as well if you select STM32CubeIDE as the target toolchain.

The project you attached (in your other thread on interrupt names) is generating code for EWARM, not STM32CubeIDE, so there is no need for it to generate a .project file. You can change this setting in Project Manager -> Project -> Toolchain/IDE.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
TDK

For 1, this doesn’t happen in STM32CubeIDE v2.3.0 (the latest). It’s possible it has been fixed or something else is touching build files on your system.

"If you feel a post has answered your question, please click ""Accept as Solution""."
javalatteAuthor
Associate III

OK, I will try upgrading to V2.3.0.