Skip to main content
Associate
March 19, 2026
Question

stm32cubeide compilation speed issue

  • March 19, 2026
  • 6 replies
  • 321 views

Hi, I'm using stm32cubeide version 2.1.1 and version 1.15.1/windows11, both are compiling the same project on my PC at slower speed compared to a lab computer.(3min vs 20seconds) Any idea what could be causing the issue? Thanks!

6 replies

TDK
Super User
March 19, 2026

Maybe your computer is slower.

Maybe it's not set up to compile in the same way.

Compare the output of the "Console" tab between the two. If you can't figure it out, post the content of both tabs here, within a </> code block.

For fastest builds, ensure parallel build is enabled in right click project -> settings

Screenshot 2026-03-19 134255.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
AScha.3
Super User
March 19, 2026

Hi,

biggest impact has the speed of the drive, the files are on.

So i get on same PC (Win11, at work) , IDE, program files about 7 minutes, if source on server (Gbit-Lan), and about 40 secs if local on M2/SSD .

Also if local even the drive makes big difference: same source on my Linux/PC needing 100 secs on hard drive, now on M2/SSD about 20 secs.

Also settings (parallel..) have some effect on multi-core system.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
March 25, 2026

My company IT mentioned to ask if STM32CubeIde is a signed application? If not, it may be flagged as malware. 

I'm using my local drive for the project. The build settings are similar on both PCs

I'd like to send over the clean project and build project output for both PCs but wasn't able to upload the files. Can I get an email address to send over the files. Thanks!

TDK
Super User
March 26, 2026

You can attach zip files here. Not sure that helps though. Did you check what is posted above?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Ozone
Principal
March 26, 2026

Many companies impose "virus scanner" and other "threat protection" software on all their PCs that can consume more than 50% of available performance.
I would start a full build, run the task manager in parallel, and whatch what consumes the most CPU performance and harddisk bandwidth.

If this is the case, you might argue with your IT department that a cross toolchain is not a threat, and that access to text- and other non-executable files by this toolchain does not require a simultanous scan.

Associate
March 26, 2026

CPU usage is 27% and disk usage at 2%, nothing running more intensely during compilation. I'm still unable to upload the zip file. Thanks!

Pavel A.
Super User
March 27, 2026

Are you trying to zip the whole installed CubeIDE? The original installer is signed but is you zip the installed stuff, it is not considered as signed. IMHO attaching the CubeIDE has no sense. Attach only you project.

Try to switch to the internal builder (in project settings).

Also as @Ozone suggested, check with your IT.