Hi everyone!
After defining a variable as no_init , my intention is to update its value along the program to debug what was its last state before a random reset.
I am able to write this variable in flash but it never remains its last value after reset.
I am using softdevice so I think that although it is defined as no_init, it is reset by softdevice during ble_stack_init.
I have tested doing Hardware Pin Reset as well as NVIC_System_reset().
is there any way to save its value before it is reset again?