This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2433: Float calculation move from FLASH Memory to RAM

Part Number: MSP430FR2433

Hi,

I want to move my floating calculation from flash memory to ram memory. I am flowing this thread but i am getting some warning. 

Thread link: MSP430FR5994: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive - MSP low-power microcontroller forum - MSP low-power microcontrollers - TI E2E support forums

I have done like this.   

 #define adc                     (float)MAX_ADC_Ch_Volt/MAX_ADC_BIT

      

I am getting like this.  unrecognized #pragma 

What is issue?   If this method is not correct, then that is the correct method to move float calculation flash memory to ram memory.

Regards,

Sumit Chaulya

**Attention** This is a public forum