Skip to main content
sandandstars
Associate II
February 3, 2021
Question

STM32CubeIDE Version 1.5.1 increases Flash usage; "Disable thread-safe initialization of local static objects" no help

  • February 3, 2021
  • 2 replies
  • 847 views

STM32CubeIDE Version: 1.5.1 increases Flash usage. "Disable thread-safe initialization of local static objects" (as recommended in release notes) increases Flash usage further.

How to get the previous version's build size?

(Needed for an STM32L01 project)

This topic has been closed for replies.

2 replies

Piranha
Principal III
February 3, 2021

That option is only for C++. And the value "disable" should make the code the same as before. Most likely the code size increase comes from other changes. All in all... If you care the code size (and performance, stability, usability), then don't use a pile of broken bloatware in the first place.

sandandstars
Associate II
February 4, 2021

Well, that wasn't quite the answer I was hoping for, but thank you. Alas, I don't have time to change all the HAL commands; I will reinstall 1.4.1 for the remainder of the project.