2024-11-18 08:20 AM
The process "searching for binaries" takes forever, and happens every time you open the program.
The IDE should already know where the binaries are.
So I would suggest the ability to turn this off, or just fix it to not search every location when it already knows where they are.
2024-11-20 05:15 AM - edited 2024-11-20 05:25 AM
Hello @inojosh
Unfortunately, there is no direct option in STM32CubeIDE to disable the binary search feature completely. However, you can manage your workspace settings to minimize unnecessary searches.
Here are some suggestions to mitigate the issue:
1- Keep your project structure clean and limit the number of files and folders included in your workspace. This can help reduce the search scope and improve load times.
2- Review your workspace settings and ensure that only necessary projects are included.
You can do this by going to File > Switch Workspace > Other... and selecting a more streamlined workspace.
3- Right-click on your project, select Properties, then navigate to C/C++ Build > Settings.
Here, ensure that unnecessary build outputs or post-build actions are disabled, which might reduce the need for searching.
4- Adjusting memory settings for STM32CubeIDE may help improve performance.
Go to the stm32cubeide.ini file (found in your STM32CubeIDE installation directory, for me "C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\stm32cubeide.ini")
and increase values for -Xms (initial heap size) and -Xmx (maximum heap size).
For example
-Xms512m
-Xmx2048m