NVS Table Editor

The NVS Table Editor helps create a binary file based on key-value pairs provided in a CSV file. The resulting binary file is compatible with the NVS architecture as defined in ESP-IDF Non Volatile Storage. The expected CSV format is:

key,type,encoding,value      <-- column header (must be the first line)
namespace_name,namespace,,   <-- First entry must be of type "namespace"
key1,data,u8,1
key2,file,string,/path/to/file

Note

This is based on ESP-IDF NVS Partition Generator Utility.

Steps

  1. Right-click on a project in the Project Explorer.

  2. Click on the ESP-IDF > NVS Table Editor menu option:

    NVS Table Editor menu option
  3. Make desired changes to the CSV data.

  4. Save changes by clicking the Save button. If everything is correct, you will see an information message at the top of the dialog:

    Save confirmation in NVS Table Editor
  5. Generate the partition binary (choose Encrypt to encrypt the binary, and disable the Generate Key option to use your own key if desired). You will see an information message at the top of the dialog about the result of the generated binaries. Hover over the message if it’s too long to read fully:

    Binary generation result in NVS Table Editor

Note

If there are any errors, they will be highlighted. Hover over the error icon to read more about the error. You will also see an error message at the top of