Page 1 of 1

Create nvs in advance

Posted: Mon Feb 23, 2026 8:48 am
by wifitier
For some projects it want to pre-create the content of the NVS partition before starting the code for the first time. Therefore i added a nvs.csv file to the project-root. I've read about how to convert this to a binary partition and flash only this partition, but the steps are complex to figure out start-address and length.

What would be the simplest way to get the data of an project nvs.csv into the flash-image of the build?

Re: Create nvs in advance

Posted: Mon Feb 23, 2026 9:56 am
by MicroController
parttool.py

Code: Select all

parttool.py --port ... write_partition --partition-name=nvs --input "nvs.bin"