From 4f7e4dd0f5766f900ae1e00b8f79bf6a7213ffad Mon Sep 17 00:00:00 2001 From: Deomid Ryabkov Date: Tue, 24 Jan 2017 14:42:02 +0000 Subject: [PATCH] Use PART_FLAG_ENCRYPTED value in gen_esp32part.py Currently paritions marked as encrypted by gen_esp32part.py are not recognized as such and encrypted writes don't work. This is part of espressif/esp-idf#253 --- components/partition_table/gen_esp32part.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/partition_table/gen_esp32part.py b/components/partition_table/gen_esp32part.py index 049120488..56bfe29fb 100755 --- a/components/partition_table/gen_esp32part.py +++ b/components/partition_table/gen_esp32part.py @@ -144,7 +144,7 @@ class PartitionDefinition(object): # dictionary maps flag name (as used in CSV flags list, property name) # to bit set in flags words in binary format FLAGS = { - "encrypted" : 1 + "encrypted" : 0 } # add subtypes for the 16 OTA slot values ("ota_XXX, etc.")