docs: Refactor table for nvs_create_partition_image arguments

This commit is contained in:
Adam Múdry
2023-08-03 15:10:33 +02:00
parent d975a26666
commit 5e5220a77c

View File

@@ -98,29 +98,35 @@ Instead of calling the ``nvs_partition_gen.py`` tool manually, the creation of t
**Positional Arguments**: **Positional Arguments**:
+---------------+---------------------------------------------------------------+ .. list-table::
| Parameter | Description | :header-rows: 1
+===============+===============================================================+
| ``partition`` | Name of the NVS parition | * - Parameter
+---------------+---------------------------------------------------------------+ - Description
| ``csv`` | Path to CSV file to parse | * - ``partition``
+---------------+---------------------------------------------------------------+ - Name of the NVS parition
* - ``csv``
- Path to CSV file to parse
**Optional Arguments**: **Optional Arguments**:
+----------------------+----------------------------------------------------------------------+ .. list-table::
| Parameter | Description | :header-rows: 1
+======================+======================================================================+
| ``FLASH_IN_PROJECT`` | Flash the image when using ``idf.py flash`` | * - Parameter
+----------------------+----------------------------------------------------------------------+ - Description
| ``VERSION`` | Set multipage blob version (Default: Version 2) | * - ``FLASH_IN_PROJECT``
| | | - Name of the NVS parition
| | Version 1 - Multipage blob support disabled | * - ``VERSION {1,2}``
| | | - Set multipage blob version (Default: Version 2)
| | Version 2 - Multipage blob support enabled |
+----------------------+----------------------------------------------------------------------+ Version 1 = support disabled
| ``DEPENDS`` | Specify files on which the command depends |
+----------------------+----------------------------------------------------------------------+ Version 2 = support enabled
* - ``DEPENDS``
- Specify files on which the command depends
If FLASH_IN_PROJECT is not specified, the image will still be generated, but you will have to flash it manually using ``idf.py <partition>-flash`` (e.g. if your parition name is ``nvs`` ``idf.py nvs-flash``). If FLASH_IN_PROJECT is not specified, the image will still be generated, but you will have to flash it manually using ``idf.py <partition>-flash`` (e.g. if your parition name is ``nvs`` ``idf.py nvs-flash``).