diff --git a/components/fatfs/fatfsparse.py b/components/fatfs/fatfsparse.py index c5d3716c56..de50f2fefa 100755 --- a/components/fatfs/fatfsparse.py +++ b/components/fatfs/fatfsparse.py @@ -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 diff --git a/tools/requirements/requirements.core.txt b/tools/requirements/requirements.core.txt index d1d4c930c2..32097f3436 100644 --- a/tools/requirements/requirements.core.txt +++ b/tools/requirements/requirements.core.txt @@ -17,6 +17,7 @@ esp-idf-monitor esp-idf-size esp-idf-panic-decoder pyclang +construct # gdb extensions dependencies freertos_gdb