Chapter 2. API Reference
|
|
→
+-----------------+-------------------------------------------------------
-------------+
→
|
--outdir OUTDIR
|
→
|
|
→
+-----------------+-------------------------------------------------------
-------------+
→
You can run the utility to generate NVS partition using the command below: A sample CSV file is provided with the
utility:
python nvs_partition_gen.py generate sample_singlepage_blob.csv sample.bin
To generate only encryption keys:
Usage:
python nvs_partition_gen.py generate-key [-h] [--keyfile KEYFILE]
Optional Arguments:
+--------------------+----------------------------------------------------
------------------+
→
|
Parameter
→
+====================+======================================================================+
|
-h, --help
→
+--------------------+----------------------------------------------------
------------------+
→
|
--keyfile KEYFILE
→
+--------------------+----------------------------------------------------
------------------+
→
|
--outdir OUTDIR
→
|
→
+--------------------+----------------------------------------------------
------------------+
→
You can run the utility to generate only encryption keys using the command below:
python nvs_partition_gen.py generate-key
To generate encrypted NVS partition:
Usage:
python nvs_partition_gen.py encrypt [-h] [--version {1,2}] [--keygen]
INPUTKEY]
→
Positional Arguments:
Espressif Systems
|
|
Output directory to store files created
|
(Default: current directory)
|
|
|
show this help message
|
|
Path to output encryption keys file
|
|
Output directory to store files
|
|
(Default: current directory)
|
[--keyfile KEYFILE]
[--outdir OUTDIR]
input
728
Submit Document Feedback
(continued from previous page)
[--outdir OUTDIR]
Description
and
exit
created.
[--inputkey␣
output size
(continues on next page)
␣
␣
␣
0x3000
␣
␣
␣
␣
␣
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?