I got a demo sources from our chip vendor. It can be compiled successfully! However, after I comment out some functions, the compiler says that IData Space overflow. When I check the MAP file, I find that there is no ?STACK. Why? I donot add any new file to the project, nor drop any file from the project. I only comment out several function calls in a file. Why? Thanks a lot!
"I try add if(0) ... but still cannot. Space overflow." I think the optimiser is too clever to be fooled by this. Try: if(!SP) { FnCall(); } instead.