Chapter 2. API Reference
Make sure there are no spaces:
• before and after ','
• at the end of each line in a CSV file
NVS Entry and Namespace association
When a namespace entry is encountered in a CSV file, each following entry will be treated as part of that namespace
until the next namespace entry is found. At this point, all the following entries will be treated as part of the new
namespace.
Note: First entry in a CSV file should always be a namespace entry.
Multipage Blob Support
By default, binary blobs are allowed to span over multiple pages and are written in the format mentioned in Section
Structure of
entry. If you intend to use an older format, the utility provides an option to disable this feature.
Encryption Support
The NVS Partition Generator utility also allows you to create an encrypted binary file. The utility uses the AES-XTS
encryption. Please refer to
Decryption Support
This utility allows you to decrypt an encrypted NVS binary file. The utility uses an NVS binary file encrypted using
AES-XTS encryption. Please refer to
Running the utility
Usage:
python nvs_partition_gen.py [-h] {generate,generate-key,encrypt,decrypt}
Optional Arguments:
+-----+------------+---------------------------------------------------------------
-------+
→
| No. |
Parameter
|
|
→
+=====+============+======================================================================+
|
1
|
-h, --help
|
|
→
+-----+------------+---------------------------------------------------------------
-------+
→
Commands:
Run nvs_partition_gen.py {command} -h
+-----+--------------+-------------------------------------------------------------
-------+
→
| No. |
Parameter
|
→
+=====+==============+====================================================================+
|
1
|
generate
|
→
Espressif Systems
NVS Encryption
for more details.
NVS Encryption
show this help message
|
|
Generate NVS partition
Submit Document Feedback
for more details.
Description
and
exit
for
additional help
Description
726
...
␣
␣
␣
␣
(continues on next page)
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?