Hi,
I've found that using
#pragma NOINIT (variable_name)
unsigned long variable_name;
will not initialize the variable on soft reset (when power is supplied throughout reset).
This worked with structures, also.
Thanks,
Mechi
Hi,
I've found that using
#pragma NOINIT (variable_name)
unsigned long variable_name;
will not initialize the variable on soft reset (when power is supplied throughout reset).
This worked with structures, also.
Thanks,
Mechi