I would like to use multiple NVS partitions.
I have 2 reasons 2 use 2 or more NVS parttions.
1) we have internal flash and external flash and would like to store more long term backup stuff on external flash and rest on internal flash
2) Because of the nature of the data, I'm somewhat limited by the 2 byte id used by NVS. might be useful to have some data in 1 NVS partition and some other data in another partition using same 2 byte index. This is all solvable in anopther way: I agree, but I would like to know if I coulduse multiple partitions and how this can be achieved.
I have the impression from the way all nvs_* functions are defined (you always have to pass the pointer to the file system) it should be possible to have multiple file system/nvs partitions.
Until now we had o,ly 1 NVS partition which is being defined by setting CONFIG_PM_PARTITION_SIZE_NVS_STORAGE.
How should I setup the Partition Manager so that it defines multiple partitions: within internal flash and within external flash.
Kind regards,
Luc