Loading...
 

System Workbench for STM32


You are viewing a reply to Keil to OpenSTM32 - Code Size  

Keil to OpenSTM32 - Code Size

Tunisia

In addition to setting optimisation to -Os, I suggest to add (-specs=nano.specs) in linker miscellaneous options.
This will forces the linker to use the nanolib (optimised for size) instead of the standard newlib