(resolved) questions about manufacturing utility
Posted: Thu Nov 01, 2018 6:59 pm
https://docs.espressif.com/projects/esp ... ng-utility
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:
Can I create a template of this struct and pre-populate it with some defaults, so it's already available when my app starts for the first time?
Thanks...
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...