Part Number: MSP430FR5969
Tool/software: Code Composer Studio
I used #pragma to save data in FRAM.
It worked well in global variable, but It did not work on local variable.
I have searched some issue about this in the forum but I could not find the exact answer.
The forum jusyt said #pragma option does not work on local variable.
Is there any way to save local variable in FRAM region?
the error message were
for the #pragma PERSISTENT(x) -> "pragma can only be applied to a file level symbol"
for the #pragma DATA_SECTION(x, ".infoA") -> "pragma DATA_SECTION can only be applied to a file level symbol definition"
Best,
Mirae