From cab895f45996e312e7594fcd8bf47731c29336c3 Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Wed, 20 Nov 2019 17:52:26 +0100 Subject: [PATCH] NVS: add support for i16, u64, i64 types to NVS partition generation tool --- .../nvs_partition_generator/nvs_partition_gen.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py b/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py index 3bc10e8c3f..1bfe3f711f 100755 --- a/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py +++ b/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py @@ -75,6 +75,8 @@ class Page(object): I16 = 0x12 U32 = 0x04 I32 = 0x14 + U64 = 0x08 + I64 = 0x18 SZ = 0x21 BLOB = 0x41 BLOB_DATA = 0x42 @@ -432,12 +434,21 @@ class Page(object): elif encoding == "u16": entry_struct[1] = Page.U16 struct.pack_into('