2025-10-02 6:13 AM
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 !
2025-10-02 6:18 AM
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.
2025-10-02 6:24 AM
Hello Eliaz ,
i recommend you to check on your windows :
On CubeIDE , there is windows defender exclusion check popup ;)
Best regards
Erwan
2025-10-02 6:28 AM
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...
2025-10-02 6:36 AM
Could you indicate where to find the option you are talking about ? It seems that this is the problem I'm encountering.
Thank you !
2025-10-02 6:41 AM
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.