AnsweredAssumed Answered

Finding Code Size

Question asked by Stanley Pond on Jan 16, 2015
Latest reply on Jan 19, 2015 by Erich Styger

My compiler will not download my code on an MC9SO8 and I was told the license I am using only allows 64k. I was wondering if there is a way to find what size my current code is? Leong asked the following question in 2011 and is exactly the question I have but was never answered. Thanks. "Similar question here:  Is there a number or numbers that I can read to determine my current code size? Is it the generated bin file size? is it the compiled code size? does it include libraries? library modules that are not used by the linker? If as mentioned ""the size of the binary code output that gets directly programmed to the MCU flash"", then data size also needs to be counted?"Similar question here: Is there a number or numbers that I can read to determine my current code size? Is it the generated bin file size? is it the compiled code size? does it include libraries? library modules that are not used by the linker? If as mentioned ""the size of the binary code output that gets directly programmed to the MCU flash"", then data size also needs to be counted?"

Outcomes