I've gone ahead and cloned the latest IDF so I have access to the python script now.
This looks like it might be just what I need, though I'm still trying to fully understand it. I have a couple questions:
1. If I understand correctly, this utility generates a .bin file that I can load into a partition on an ESP32. But...how do I perform that load?
2. Is this .bin file (and the partition that it creates) compatible with the NVS library? By this I mean, can I generate key/value pairs that can be programmatically accessed using nvs_get_u8() (or whatever)?
3. I'm currently storing in NVS a C struct that looks something like this:
Code: Select all
struct DeviceDetails
{
uint8_t macAddr[6];
char serialNbr[NBR_CHARS_SER_NBR];
char devName[25];
uint8_t version[4];
...
Thanks...