mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-11-16 12:34:34 +00:00
Add LFS_READYONLY define, to allow smaller builds providing read-only mode
This commit is contained in:
1
lfs.h
1
lfs.h
@@ -76,6 +76,7 @@ enum lfs_error {
|
||||
LFS_ERR_EXIST = -17, // Entry already exists
|
||||
LFS_ERR_NOTDIR = -20, // Entry is not a dir
|
||||
LFS_ERR_ISDIR = -21, // Entry is a dir
|
||||
LFS_ERR_NOSYS = -38, // Function not implemened
|
||||
LFS_ERR_NOTEMPTY = -39, // Dir is not empty
|
||||
LFS_ERR_BADF = -9, // Bad file number
|
||||
LFS_ERR_FBIG = -27, // File too large
|
||||
|
||||
Reference in New Issue
Block a user