cancel
Showing results for 
Search instead for 
Did you mean: 

Cant generate/build proper STM32F446RE code

dennis_m
Visitor

Hello, 

I am struggling getting my code generated and to compile it..

I am working on VirtualBox with Ubuntu OS, and I have downloaded the standard Linux STM32CubeIDE.

When creating a project, my mcu ode is not being generated within the files..25.05.2026_11.37.55_REC.png25.05.2026_11.38.29_REC.png25.05.2026_11.47.35_REC.png25.05.2026_11.48.15_REC.png

 

I had also installed the STM32CubeMX and was able to select my HW there and I get my code generated properly.. but I cant import it into STM32CubeIDE... if I import, then I cannot Build the code... (picture below)

Screenshot From 2026-05-24 09-27-48.png

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

Hello @dennis_m and welcome to the ST community,

It seems you are using a CubeIDE version older than 2.0.0.

I suggest to use the latest version 2.1.1 (currently) and use CubeMx to generate the code.

Please read the new workflow on STM32CubeIDE 2.0.0: STM32CubeIDE 2.0.0 workflow tutorial

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

1 REPLY 1
mƎALLEm
ST Employee

Hello @dennis_m and welcome to the ST community,

It seems you are using a CubeIDE version older than 2.0.0.

I suggest to use the latest version 2.1.1 (currently) and use CubeMx to generate the code.

Please read the new workflow on STM32CubeIDE 2.0.0: STM32CubeIDE 2.0.0 workflow tutorial

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.