AnsweredAssumed Answered

Insane Size of .elf Output

Question asked by Quang Kaelan Nguyen on Jun 10, 2015
Latest reply on Jul 21, 2015 by Carlos_Musich

Hi ,


Im working with Kinetis SDK 1.2 and the FRDMK64F Board. I could successfully build the hello sample and flashed onto the board before. Everything were fine.

But since yesterday when I try to build eth_to_serial sample located inside middleware folder.


The output .elf gets really huge.


arm-none-eabi-size --format=berkeley "eth_to_serial.elf"

   text       data        bss        dec        hex    filename

  81620       1304       4992      87916      1576c    eth_to_serial.elf

Finished building: eth_to_serial.siz


I can't figure out what I have changed to cause this. Now everything I build are about 50MB or more, even the hello sample I built before.

Did I accidentally delete some flags of the makefile?


I tried to strip the elf File and flashed onto the board, but it seems to be wrong. The Board return fail.txt "RESERVED BITS".

I also try to build the project fresh.


Any idea that can help me out?