I am using YAGARTO Tool to compile code for AT91SAM7X512 CPU. In which it provides ECLIPSE as editor and GCC Version 4.2.1 as compiler. When i compile my project it code space around 256776 Bytes and used ram around
32480 Bytes. It works ok. Now as i add other .C & .H files, my code stop working. I m not calling any function of last added files. Just i only put those files and compile and link. But i m not using any fucntion out of those file. After adding these .C & .H files my code size becomes around 353212 Bytes and used ram size around 66108 Bytes. When i debug code i found that whenever it find devision operation it goes somewhere else and not executing remaining program. So, i m not able understand why this happen. I add only .C & .H files, which are not used any where in my Project. I need those files, but currently i just added those files. My code compile ok but not able to run after devision operation.- posted
15 years ago