Release Build Map file

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

Release Build Map file

Jump to solution
514 Views
davidzhou
Contributor V

I have K60 Tower board:_K60P144M150SF3RM , MQX 4.2, CodeWarrior v10.6.4

 

I have my project built as release. I found there are a lot of debug strings are included into the .elf binary file.

                              
 .debug_str     0x0000ced5       0x8f C:/Freescale/CW MCU v10.6.4/MCU/ARM_GCC_Support/ewl/lib/armv7e-m/fpu\librt.a(ROMCopy.o)
                  ........            

 

.debug_frame    0x00000000     0x5e40
 .debug_frame   0x00000000       0xe4 ./Sources/MSxUart.o
 .debug_frame   0x000000e4      0x15c ./Sources/MSxSwap.o

 

and when I examine the elf file, there are a lot of strings appended at the end of elf file. I want to limit the size of binary, how do I exclude any unnecessary debug data, debug string, and debug frames, etc from the binary file?

 

Thank you,

David Zhou

Labels (1)
0 Kudos
1 Solution
426 Views
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

View solution in original post

0 Kudos
1 Reply
427 Views
davidzhou
Contributor V

Sorry, it is in .elf, not binary file.

Case closed.

Thank you,

David Zhou

0 Kudos