I'm using IAR MSP430 workbench, I need to minimise the memory. So I kept HIGH Balanced optimisation in release mode. I created list of output file to get each file memory information. But it is not removing unused codes while calculating code size.
If I comment it off , decreasing code size otherwise not. How to remove unused code on compilation to minimise the memory usage?
Please give input on the same.