I have tried to call one "passing structure to a function" and some if else condition inside one function called RadFault(void); And the faultmanagement() function is in
#pragma CODE_SECTION(ReadFault, "ramfuncs2");
void ReadFault(void){
Read fault sub routine 1,
Read fault sub routine 2;
|
|
|
[called function(&Vgph,&Vgll)
some logic added]
Read fault sub routine n;
}
But I am getting followng error "run placement fails for object "ramfuncs""
My question is why this is coming and how to solve this?
If I add some random code I am not getting any error. But whenever I tried to call some function and try to take some decision from that function output I am getting this error.