NVS in watchdog callback

Hi,

I'm trying to save system uptime when the watchdog callback occurs.

The NVS functionality works when calling nvs_write elsewhere in code.

Calling nvs_write inside the watchdog callback, I always receive -ETIMEDOUT. The documentation for NVS states"In a multi-threaded application, another thread might intercept the fault and the NVS API will return an -ETIMEDOUT error." what does that mean?

Parents Reply Children
Related