]> granicus.if.org Git - esp-idf/commitdiff
Use PART_FLAG_ENCRYPTED value in gen_esp32part.py
authorDeomid Ryabkov <rojer@cesanta.com>
Tue, 24 Jan 2017 14:42:02 +0000 (14:42 +0000)
committerAngus Gratton <angus@espressif.com>
Thu, 26 Jan 2017 01:27:00 +0000 (12:27 +1100)
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

index 04912048850ad34e189c1116f2a705791dffb91a..56bfe29fb8bda6e7d64ad0a01c6f69cdfc71a258 100755 (executable)
@@ -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.")