mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 05:55:49 +00:00
Ideally suited for generating a binary externally, containing key-value pairs specific to device manufacturers. Utility allows creation of a binary, compatible with NVS structure, which can be separately flashed onto a new partition. This helps device manufacturers set different values for different devices, e.g. serial numbers, but using a single firmaware image.
410 B
410 B
| 1 | key | type | encoding | value |
|---|---|---|---|---|
| 2 | dummyNamespace | namespace | ||
| 3 | dummyU8Key | data | u8 | 127 |
| 4 | dummyI8Key | data | i8 | -128 |
| 5 | dummyU16Key | data | u16 | 32768 |
| 6 | dummyU32Key | data | u32 | 4294967295 |
| 7 | dummyI32Key | data | i32 | -2147483648 |
| 8 | dummyStringKey | data | string | 0A:0B:0C:0D:0E:0F |
| 9 | dummyHex2BinKey | data | hex2bin | 010203abcdef |
| 10 | hexFileKey | file | hex2bin | testdata/sample.hex |
| 11 | stringFileKey | file | string | testdata/sample.txt |
| 12 | binFileKey | file | binary | testdata/sample.bin |