Merge branch 'bugfix/part_gen_subtype_fix_v4.0' into 'release/v4.0'
partition_table: Fix subtype in gen_esp32part.py (v4.0) See merge request espressif/esp-idf!7536
This commit is contained in:
commit
2bee223250
|
@ -160,7 +160,7 @@ class PartitionTable(list):
|
||||||
subtype = SUBTYPES[int(ptype)][subtype]
|
subtype = SUBTYPES[int(ptype)][subtype]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
try:
|
try:
|
||||||
ptype = int(ptype, 0)
|
subtype = int(subtype, 0)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue