Skip to main content
Associate III
October 2, 2025
Solved

Very slow times for both STM32CubeIDE and STM32CubeMX

  • October 2, 2025
  • 6 replies
  • 558 views

Hello,

 

I am starting my project with CubeMX and CubeIDE right now and I am encountering massive time issues.

For example it took almost 25 minutes to go from the IOC file to the generated code (throuh the autogenerating functionnality). It also took 3 minutes and 45 seconds to build a basically empty program (except for the inits).

I'm running on CubeIDE v1.19 and CubeMX v6.15.

My laptop is Windows 11, I have 32 GB RAM, 13th Gen intel Core i7-13700H.

If you guys have any advice on how to work around it that would be great.

 

Thank you very much !

This topic has been closed for replies.
Best answer by EliazLB

Ok it seems moving the project from my company's server to working directly on my laptop was the answer to my question ! 

Thanks for the answers guys

6 replies

Ozone
Principal
October 2, 2025

I would recommend to at least run the task manager simultaneously, and check what application/process uses up most CPU time. Click on the "CPU" column to sort by CPU load.

I got a suspicion this is a virus scanner.

EliazLBAuthor
Associate III
October 2, 2025

When i just look at it without running anything on STM32Cube, it takes around 0.1% of CPU power and when running a build, it is from 0.2 to 0.5%. I had a spike to 1% but it lasted half a second.

The total use of CPU is from 10 to 15%.

Though I'm not very sure what to look for...

Ozone
Principal
October 2, 2025

Not sure if I made clear what I mean :

> For example it took almost 25 minutes to go from the IOC file to the generated code (throuh the autogenerating functionnality). It also took 3 minutes and 45 seconds to build a basically empty program (except for the inits).

Whatch the task manager during exactly those actions.
Perhaps try a "clean" before, or even a new project.

My company had mandated a certain McAfee virus canner for all their PCs, which brought down performance by 70..80%. And switched to an alternative only after massive complaints.

Erwan YVIN
ST Technical Moderator
October 2, 2025

Hello Eliaz ,

i recommend you to check on your windows :

  • Check your Windows defender (antivirus) in task manager during build process.
  • Proxy settings in your are in corporate company (some IP could be redirected and slows your PC)

On CubeIDE , there is windows defender exclusion check popup ;)

Help - Eclipse Platform

                                    Best regards

                                                 Erwan

                                   

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
EliazLBAuthor
Associate III
October 2, 2025

Could you indicate where to find the option you are talking about ? It seems that this is the problem I'm encountering.

Thank you !

EliazLBAuthorBest answer
Associate III
October 3, 2025

Ok it seems moving the project from my company's server to working directly on my laptop was the answer to my question ! 

Thanks for the answers guys