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