support for generating FATFS on a host

This commit is contained in:
Martin Gano
2021-09-22 00:32:54 +02:00
committed by Martin Gaňo
parent e14b39e8fb
commit 3c4034d36e
24 changed files with 1459 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
class WriteDirectoryException(Exception):
"""
Exception is raised when the user tries to write the content into the directory instead of file
"""
pass
class NoFreeClusterException(Exception):
"""
Exception is raised when the user tries allocate cluster but no free one is available
"""
pass
class LowerCaseException(Exception):
"""
Exception is raised when the user tries to write file or directory with lower case
"""
pass
class TooLongNameException(Exception):
"""
Exception is raised when long name support is not enabled and user tries to write file longer then allowed
"""
pass
class FatalError(Exception):
pass