Skip to main content
ST Migration account
ST Community Manager
August 22, 2026
Solved

Cant generate/build proper STM32F446RE code

  • August 22, 2026
  • 1 reply
  • 20 views

This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.


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..4079ae4c-73ab-7653-f594-f05905f3a826.pngf7eac302-a802-6e9e-397c-11f921372c74.pngbac38fad-66b7-e346-7643-5959194db0ea.png1b69b4b7-4498-2fc9-6e20-f1c717f8f898.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)

2d617ad4-daee-beba-cad5-4b8ed1d7874b.png

Best answer by mƎALLEm

Hello  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

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
August 27, 2026

Hello  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 "Best answer" on the reply which solved your issue or answered your question.