We want to use the Kinetis Design Studio (KDS) instead of the IAR EWARM.
However the code size that was build by KDS greater than code size that was build by IAR EWARM.
Here is summary of code size that was build by KDS and EWARM.
|KDS optimize option||read only code||read only data||total of read only||read write data|
|EWARM optimize||read only code||read only data||total of read only||read write data|
|High Speed no limit||4302||208||4510||12|
I check and compare both .map file, I find out a reason why code size that was build by KDS greater than EWARM.
KDS was link the library then increase 1,760 bytes in read only code section, increase 672 bytes in read only data and increase 712 bytes (exclusion stack and heap) in read write data.
Can we remove library to reduce code size?
I attached my project.
Please advise to solve this issue as soon as possible.
Original Attachment has been moved to: KE06_LED_demo.zip