?How to minimize program memory size?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

?How to minimize program memory size?

807 Views
pengliang
Contributor III

I am using CW V10.3 for Kinetis L KL25Z development. Also, I use PE for generating the hardware initialization code.

 

The program size is quite large like 4k Byte. even I just toggle an LED. why is that large? because of PE generated code? How can I minimize the program memory size?

 

Thank you

Labels (1)
0 Kudos
1 Reply

372 Views
carxander
Contributor II

Hello!

Recently i read this post from Erich, I hope this help:

Optimizing the Kinetis gcc Startup | MCU on Eclipse