util: Update docs as per review comments

This commit is contained in:
Shivani Tipnis
2018-10-12 10:16:39 +05:30
parent 5bee9faf49
commit 7c08fcccaf
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ The mfg\_gen.py utility is using the generated CSV Configuration file and Master
+------------------------+----------------------------------------------------------------------------------------------+
| Arguments | Description |
+========================+==============================================================================================+
| --size PART_SIZE | Size of NVS Partition in hex (must be multiple of 4096). Eg. 0x1000 |
| --size PART_SIZE | Size of NVS Partition in bytes (must be multiple of 4096) |
+------------------------+----------------------------------------------------------------------------------------------+
| --conf CONFIG_FILE | the input configuration csv file |
+------------------------+----------------------------------------------------------------------------------------------+
+3 -2
View File
@@ -16,7 +16,7 @@
#
from __future__ import print_function
from builtins import map, range
from builtins import range
from future.moves.itertools import zip_longest
import sys
import os
@@ -27,6 +27,7 @@ import distutils.dir_util
sys.path.insert(0, os.getenv('IDF_PATH') + "/components/nvs_flash/nvs_partition_generator/")
import nvs_partition_gen
def verify_values_exist(input_values_file, keys_in_values_file):
""" Verify all keys have corresponding values in values file
"""
@@ -288,7 +289,7 @@ file_identifier=None,output_dir_path=None):
parser.add_argument("--size",
dest='part_size',
required=True,
help='Size of NVS Partition in hex (must be multiple of 4096). Eg. 0x1000')
help='Size of NVS Partition in bytes (must be multiple of 4096)')
parser.add_argument('--conf',
dest='config_file',