fatfs v0.04a Apr 01, 2007:

- Supported multiple partitions on a plysical drive. (FatFs)
- Fixed an endian sensitive code in f_mkfs(). (FatFs)
- Added a capability of extending the file size to f_lseek().
- Added minimization level 3.
- Fixed a problem that can collapse a sector when recreate an
- existing file in any sub-directory at non FAT32 cfg. (Tiny-FatFs)
This commit is contained in:
savelij13 committed 2025-09-11 09:06:19 +03:00
1 parent 3d65978d31
commit 8e92305484
66 files changed
+1667 -1136

No files matched your search

+6 -6
View File
@@ -16,6 +16,9 @@
<h4>FatFs</h4>
<pre>
typedef struct _FIL {
WORD id; /* Owner file system mount ID (inverted) */
BYTE flag; /* File status flags */
BYTE sect_clust; /* Left sectors in cluster */
FATFS* fs; /* Pointer to the owner file system object */
DWORD fptr; /* File R/W pointer */
DWORD fsize; /* File size */
@@ -24,9 +27,6 @@ typedef struct _FIL {
DWORD curr_sect; /* Current sector */
DWORD dir_sect; /* Sector containing the directory entry */
BYTE* dir_ptr; /* Ponter to the directory entry in the window */
WORD id; /* Sum of owner file system mount ID */
BYTE flag; /* File status flags */
BYTE sect_clust; /* Left sectors in cluster */
BYTE buffer[512]; /* File R/W buffer */
} FIL;
</pre>
@@ -34,6 +34,9 @@ typedef struct _FIL {
<h4>Tiny-FatFs</h4>
<pre>
typedef struct _FIL {
WORD id; /* Owner file system mount ID (inverted) */
BYTE flag; /* File status flags */
BYTE sect_clust; /* Left sectors in cluster */
FATFS* fs; /* Pointer to owner file system */
DWORD fptr; /* File R/W pointer */
DWORD fsize; /* File size */
@@ -42,9 +45,6 @@ typedef struct _FIL {
DWORD curr_sect; /* Current sector */
DWORD dir_sect; /* Sector containing the directory entry */
BYTE* dir_ptr; /* Ponter to the directory entry in the window */
WORD id; /* Sum of owner file system mount ID */
BYTE flag; /* File status flags */
BYTE sect_clust; /* Left sectors in cluster */
} FIL;
</pre>
</div>