nvs_flash: Add binary creation support for NVS partition.

Ideally suited for generating a binary externally, containing key-value pairs specific
to device manufacturers. Utility allows creation of a binary, compatible
with NVS structure, which can be separately flashed onto a new
partition. This helps device manufacturers set different values for
different devices, e.g. serial numbers, but using a single firmaware
image.
This commit is contained in:
Amit Sheth
2018-04-19 05:48:05 +05:30
committed by Amit Sheth
parent e37ceaed32
commit aa357a32bc
12 changed files with 501 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ Storage API
SPI Flash and Partition APIs <spi_flash>
SD/SDIO/MMC Driver <sdmmc>
Non-Volatile Storage <nvs_flash>
NVS Partition Generation Utility <nvs_partition_gen.rst>
Virtual Filesystem <vfs>
FAT Filesystem <fatfs>
Wear Levelling <wear-levelling>
@@ -1,5 +1,10 @@
.. include:: ../../../../components/nvs_flash/README.rst
NVS Partition Generator Utility
-------------------------------
This utility helps in generating NVS-esque partition binary file which can be flashed separately on a dedicated partition via a flashing utility. Key-value pairs to be flashed onto the partition can be provided via a CSV file. Refer to :doc:`NVS Partition Generator Utility <nvs_partition_gen>` for more details.
Application Example
-------------------
@@ -0,0 +1 @@
.. include:: /../../components/nvs_flash/nvs_partition_generator/README.rst