You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it (already) possible to use variables that are not initialised at softreset?
like:
static uint8_t data[16] attribute((section(".non_init")));
or
So after a power-On Reset the Variable "counter" is random or zero
the counter is increased by application.
after a softreset the variable "counter" should contain the old value before the softreset
Reason: i have an Application running which does a reset from time to time (i think it happens at BLE transfer) and some values should be hold. and i cant writ them in Filesystem, because i dont know the time of the next softreset.
The text was updated successfully, but these errors were encountered:
Is it (already) possible to use variables that are not initialised at softreset?
like:
static uint8_t data[16] attribute((section(".non_init")));
or
So after a power-On Reset the Variable "counter" is random or zero
the counter is increased by application.
after a softreset the variable "counter" should contain the old value before the softreset
Reason: i have an Application running which does a reset from time to time (i think it happens at BLE transfer) and some values should be hold. and i cant writ them in Filesystem, because i dont know the time of the next softreset.
The text was updated successfully, but these errors were encountered: