Is there currently an obvious mechanism to persist 'stats' across resets (
https://mynewt.apache.org/master/os/modules/stats/stats.html), repopulating
them with appropriate values coming out of reset?

It seems like a potentially common requirement, so I wanted to ping the dev
list before diving into an implementation myself. Has anyone made a viable
attempt at this already, that might be able to share any blocking issues
they ran into?

There will always be a gray area between the moment you persist the data
(IF you persisted it as well) and the moment you try to restore it, plus
wear on the flash memory since the nRF52 is limited here compared to some
other MCUs), but those are just things you'll have accept and try to
minimise.

Kevin

Reply via email to