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.

Code composer #pragma NOINIT(x) with C++ on FRAM devices

Other Parts Discussed in Thread: MSP430FR5969

I am trying to create a C++ project on the msp430fr5969 processor using Code Composer Studio Version: 6.1.2.00015. My project has the "Treat C files as C++" option enabled.

 I am trying to use:

#pragma PERSISTENT(x)
unsigned int x;

and

#pragma NOINIT(x)
unsigned int x;

These don't seem to work for C++, is there an equivalent method for storing variables into FRAM?

Thank you.

**Attention** This is a public forum