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
This commit is contained in:
Deomid Ryabkov 2017-01-24 14:42:02 +00:00 committed by Angus Gratton
parent 32ad1e676d
commit 4f7e4dd0f5

View File

@ -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.")