kopia lustrzana https://github.com/espressif/esp-idf
fix(tools): Fix fatfsgen construct exception type and dependency
construct=2.10.70 fixed an issue
(c3866e9492
)
and StringError is raised instead of UnicodeDecodeError.
pull/12698/head^2
rodzic
2cd09e8f71
commit
035e59bfd8
|
@ -57,7 +57,7 @@ def traverse_folder_tree(directory_bytes_: bytes,
|
|||
try:
|
||||
obj_: dict = Entry.ENTRY_FORMAT_SHORT_NAME.parse(
|
||||
directory_bytes_[obj_address_: obj_address_ + FATDefaults.ENTRY_SIZE])
|
||||
except (construct.core.ConstError, UnicodeDecodeError):
|
||||
except (construct.core.ConstError, UnicodeDecodeError, construct.core.StringError):
|
||||
args.long_name_support = True
|
||||
continue
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ esp-idf-monitor
|
|||
esp-idf-size
|
||||
esp-idf-panic-decoder
|
||||
pyclang
|
||||
construct
|
||||
|
||||
# gdb extensions dependencies
|
||||
freertos_gdb
|
||||
|
|
Ładowanie…
Reference in New Issue