feat(examples): Add storage/nvsgen example

Showcases the use of `nvs_create_partition_image` CMake function
Remove mentions of NVS multipage blob version 1 so it's not encouraged
This commit is contained in:
Adam Múdry
2023-08-04 10:46:58 +02:00
parent 5e5220a77c
commit b988242b07
10 changed files with 201 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ This utility helps generate NVS partition binary files which can be flashed sepa
Instead of calling the ``nvs_partition_gen.py`` tool manually, the creation of the partition binary files can also be done directly from CMake using the function ``nvs_create_partition_image``::
nvs_create_partition_image(<partition> <csv> [FLASH_IN_PROJECT] [VERSION 1 | 2] [DEPENDS dep dep dep ...])
nvs_create_partition_image(<partition> <csv> [FLASH_IN_PROJECT] [DEPENDS dep dep dep ...])
**Positional Arguments**:
@@ -118,12 +118,6 @@ Instead of calling the ``nvs_partition_gen.py`` tool manually, the creation of t
- Description
* - ``FLASH_IN_PROJECT``
- Name of the NVS parition
* - ``VERSION {1,2}``
- Set multipage blob version (Default: Version 2)
Version 1 = support disabled
Version 2 = support enabled
* - ``DEPENDS``
- Specify files on which the command depends