Added support for the basic file operation
Missing seek, but these are the core filesystem operations provided by this filesystem: - Read a file - Append to a file Additional work is needed around freeing the previous file, so right now it's limited to appending to existing files, a real append only filesystem. Unfortunately the overhead of the free list with multiple open files is becoming tricky.
This commit is contained in:
@@ -15,6 +15,7 @@ typedef uint32_t lfs_word_t;
|
||||
typedef uint16_t lfs_hword_t;
|
||||
|
||||
typedef lfs_word_t lfs_size_t;
|
||||
typedef int32_t lfs_ssize_t;
|
||||
typedef lfs_word_t lfs_off_t;
|
||||
typedef int lfs_error_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user