Question
HAL flash size
Posted on March 01, 2017 at 15:32
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 !
