Tool/software: Code Composer Studio
Hi
I am trying to use the #pragma PERSISTENT /NOINT precompile directives in CCS to prevent a variable from being initialized or reset during a watch dog interrupt
However I have tried various combinations - it did compile but when I test the presistence of the variable during debug sessions, after the watch dog reset my test values
also got reset to zero again.
I used variations of precompiles such as
#pragma PRESISTENT(x)
Uint32 x = 0;
#pragma PRESISTENT
Uint32 x = 0;
also tried
#pragma NOINT(x)
Uint32 x = 0;
#pragma NOINT
Uint32 x = 0;
Please advise how to do this for CCS/TMS320F28377S
Thanks