NVS API
Overview
The Non-Volatile Storage (NVS) API provides a mechanism for storing and retrieving variables in the device's non-volatile memory. This API is useful for saving and loading configuration settings, calibration data, and other persistent variables.
The header file for this API is part of os/MatrixOS.h and the implementation is in os/system/NVS.cpp.
Saved Variables
The NVS API is rather complex requiring the use of a hash to identify variables. In most case you will want to use the SavedVar Macro to create saved variables instead of using the NVS API directly.
You will want to use the NVS API directly if you need to store a large amount of data like save the full configuration for Note layout after user is done configuring instead saving after every small changes with large numbers of saved variables.