AnsweredAssumed Answered

HAL flash size

Question asked by david lion on Mar 1, 2017
Latest reply on Mar 2, 2017 by AvaTar

Hi, can you tell me if it is normal that the stm32 hal use a lot of flash size. For exemple, just to setup the main clock, 3ko is used (3ko is the difference without the setup and with the setup). And when I use a lot of peripheral, the flash size of my program is huge ! I used gcc to compile.

Is there some option to reduce flash size or the stm32 HAL is not optimised.   I used an stm32l0 with only 64kb and I use all of peripherals so it's very critic for me, the flash size. 

 

Thanks ! 

Outcomes