Chapter 2. API Reference
Each line should contain the value of the corresponding keys, separated by a comma. If the key has the REPEAT
tag, its corresponding value must be entered in the second line only. Keep the entry empty for this value in the
following lines.
The description of this parameter is as follows:
value Data value
Data value is the value of data corresponding to the key.
Below is a sample example of a master value CSV file:
id,firmware_key,serial_no,device_no
1,1a2b3c4d5e6faabb,A1,101
2,1a2b3c4d5e6fccdd,,102
3,1a2b3c4d5e6feeff,,103
Note: If the 'REPEAT'tag is present, a new master value CSV file will be created in the same folder as the input
Master CSV File with the values inserted at each line for the key with the 'REPEAT'tag.
This utility creates intermediate CSV files which are used as input for the NVS partition utility to generate the binary
files.
The format of this intermediate CSV file is as follows:
key,type,encoding,value
key,namespace, ,
key1,type1,encoding1,value1
key2,type2,encoding2,value2
An instance of an intermediate CSV file will be created for each device on an individual basis.
Running the utility
Usage:
python mfg_gen.py [-h] {generate,generate-key}
Optional Arguments:
+-----+------------+---------------------------------------------------------------
-------+
→
| No. |
Parameter
|
|
→
+=====+============+======================================================================+
|
1
|
-h, --help
|
|
→
+-----+------------+---------------------------------------------------------------
-------+
→
Commands:
Run mfg_gen.py {command} -h
+-----+--------------+-------------------------------------------------------------
-------+
→
| No. |
Parameter
|
→
+=====+==============+====================================================================+
|
1
|
generate
|
→
+-----+--------------+-------------------------------------------------------------
-------+
→
Espressif Systems
show this help message
for
additional help
|
|
Generate NVS partition
Submit Document Feedback
...
Description
and
exit
Description
702
␣
␣
␣
␣
(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?