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?
Create nvs in advance
-
MicroController
- Posts: 2661
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Create nvs in advance
parttool.py
Code: Select all
parttool.py --port ... write_partition --partition-name=nvs --input "nvs.bin"
Who is online
Users browsing this forum: Google [Bot] and 14 guests