Chapter 2. API Reference
+-----+--------------+-------------------------------------------------------------
-------+
→
|
2
|
generate-key
|
→
+-----+--------------+-------------------------------------------------------------
-------+
→
|
3
|
encrypt
|
→
+-----+--------------+-------------------------------------------------------------
-------+
→
|
4
|
decrypt
|
→
+-----+--------------+-------------------------------------------------------------
-------+
→
To generate NVS partition (Default):
Usage:
python nvs_partition_gen.py generate [-h] [--version {1,2}]
OUTDIR]
→
Positional Arguments:
+--------------+----------------------------------------------------------
------------+
→
|
Parameter
|
→
+==============+======================================================================+
|
input
|
→
+--------------+----------------------------------------------------------
------------+
→
|
output
|
→
+--------------+----------------------------------------------------------
------------+
→
|
size
of 4096)
→
+--------------+----------------------------------------------------------
------------+
→
Optional Arguments:
+-----------------+-------------------------------------------------------
-------------+
→
|
Parameter
→
+=================+====================================================================+
|
-h, --help
→
+-----------------+-------------------------------------------------------
-------------+
→
|
--version {1,2}
→
|
→
|
→
|
→
Espressif Systems
|
Generate keys
|
Generate NVS encrypted partition
|
Decrypt NVS encrypted partition
|
|
Path to CSV file to parse
|
Path to output NVS binary file
|
Size of NVS partition
|
|
|
|
show this help message
|
|
Set multipage blob
|
|
Version
1
-
|
|
Version
2
-
|
|
Default: Version
|
Submit Document Feedback
for
encryption
input
output size
Description
in bytes
Description
and
exit
version.
Multipage blob support
Multipage blob support
2
727
(continued from previous page)
[--outdir␣
␣
␣
␣
(must be
multiple␣
␣
␣
␣
disabled.
␣
enabled.
␣
␣
(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?