Hi, I am using MSP430 to read temperatures form the sensors . To convert the digital temperature value read from the sensors to analog using a function which does some floating point calculation. The execution control is not going into the floating point calculation function and I am seeing the above warning . I browse through and found some link by following which I tried to put the function into RAM as below, but it is not helping me.
Is there anything I am missing here , suggestions would be helpful.
#pragma CODE_SECTION(tempDigitalToAnalogConversion, ".ramfunc")
float tempDigitalToAnalogConversion(int digitalTemp)
{
;
}
In the lnk_msp430f5342.cmd file as below :
SECTIONS
{
….
.ramfunc : {} load=FLASH, run=RAM // that means load the function from FLASH to RAM and run in RAM,
…..
}
Thanks