Hi , I am working on LPC1788 with RTX , my code size is much bigger , so i want to optimize my code, after sarching through internet , there is optimization level(-O1 to -O3) specified by keil , but when i am using that optimization level(tried each level)in my code,but it is not working , not in debug mode also , why is this happened , please help or suggest.
Why must everything be so laboured? I provide hints so I don't have to walk you down the path of discovery, or provide a check-list or script to follow.
www.keil.com/.../armcc_chr1359124988971.htm http://www.keil.com/support/docs/3704.htm www.keil.com/.../armcc_chr1359124989673.htm
What you're ultimately trying to determine is what part of your code is unsafe, where it is not sufficiently specific about the start conditions, or usage, where the optimizer applies the rules of C more rigorously, where you expect specific behaviour but have provided non-specific instructions or coded unspecified behaviour.
Thanks for the link,but i have already gone through this link and only then i have used optimization function in my code.
now i dont understand where i am wrong thats why i posted my error ,if something i didn't trace ,where should i find the solution? ,thats why i am seeking guidance from you all.
thats why i have also share my working platform with you
Thanks much.
Follow the instructions for posting source code - they are immediately above the box where you type your message."
You didn't do that - did you?
Look at this picture to help you: www.danlhenry.com/.../keil_code.png