2021-03-04 07:38 AM
Hi,
I'm currently having a problem with the STM32CubeIDE software after updating it to 1.6.0.
Trying to compile a project I noticed that the final dimension in flash increase about 2000bytes.
The problem is that I found this because one of my projects now exceeds the maximum available FLASH space and I can't compile it anymore.
Someone else is having the same problem?
Is there any solution to it?
Thanks
2021-03-04 08:20 AM
Hi Jonny,
This is "expected". In CubeIDE 1.6.0 we deploy a new toolchain version as default toolchain. Some projects will be smaller some larger. Default toolchain is now:
In our mind following the community with respect to open-source components is important, hence we try to update Eclipse/CDT/JRE/GCC/... When we think it makes sense. This toolchain update was rolled already in 1.5 but only in the online repo for manual download by customer. Now, with CubeIDE 1.6.0, we make it the default toolchain bundled in the package and instead put the older toolchain in the online repo for manual download.
That said, you can use the Window > Preferences > STM32Cube > Toolchain Manager, to download the old toolchain and set it up as the default toolchain in your workspace. Refer to the new User Guide bundled with 1.6.0 for more details.
And let us know if you face any issues with this semi-new feature! :)
2021-03-05 02:13 AM
Wow thanks i never used the feature to switch the toolchain in the past.
It is pretty simple and now everything goes back to the previous situation.
When I will have some spare time I will try to understand where is the differences in compiling dimension with the new toolchain for sure
Thanks for your help and time
Best Regards
Jonny