From: Shivani Tipnis Date: Thu, 14 Feb 2019 09:47:57 +0000 (+0530) Subject: nvs_util: Fix to support write of multiple singlepage big blob data Closes https... X-Git-Tag: v3.2-beta3~18^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ec0f415a550f95f1d028be317fc0591c661c0fd;p=esp-idf nvs_util: Fix to support write of multiple singlepage big blob data Closes https://github.com/espressif/esp-idf/issues/3011 (cherry picked from commit 21688e3bffee80ddfbef5364a44dd1821e28c776) --- 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 40159cd889..18d805951c 100755 --- a/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py +++ b/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py @@ -379,7 +379,7 @@ class Page(object): total_entry_count = data_entry_count + 1 # +1 for the entry header # Check if page is already full and new page is needed to be created right away - if encoding == "string": + if encoding in ["string", "hex2bin", "binary", "base64"]: if (self.entry_num + total_entry_count) >= Page.PAGE_PARAMS["max_entries"]: raise PageFullError()