Part Number: MSP430FR5989
Tool/software: Code Composer Studio
Hello,
I'm trying to use a persistent counter in my code. Although I did initialize it, the msp430 gcc compiler gives me this warning:
variable 'T_Counter' was declared persistent and should be explicitly initialized [-Wattributes]
and here how I initialize that variable :
uint16_t __attribute__((persistent)) T_Counter =0;
what is causing this warning and how do I fix it ?
I appreciate any help.