Skip to content

Commit e770835

Browse files
CopilotBernardXiong
andcommitted
[dfs_v1][elmfat] Update to clean elm-fatfs R0.16 patch1
Co-authored-by: BernardXiong <[email protected]>
1 parent 3e178da commit e770835

File tree

7 files changed

+8659
-13207
lines changed

7 files changed

+8659
-13207
lines changed

components/dfs/dfs_v1/filesystems/elmfat/00history.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,23 @@ R0.15 (November 6, 2022)
367367
Fixed string functions cannot write the unicode characters not in BMP when FF_LFN_UNICODE == 2 (UTF-8).
368368
Fixed a compatibility issue in identification of GPT header.
369369

370+
371+
372+
R0.15a (November 22, 2024)
373+
Fixed a complie error when FF_FS_LOCK != 0.
374+
Fixed a potential issue when work FatFs concurrency with FF_FS_REENTRANT, FF_VOLUMES >= 2 and FF_FS_LOCK > 0.
375+
Made f_setlabel() accept a volume label in Unix style volume ID when FF_STR_VOLUME_ID == 2.
376+
Made FatFs update PercInUse field in exFAT VBR. (A preceding f_getfree() is needed for the accuracy)
377+
378+
379+
380+
R0.15b (June 21, 2025)
381+
Added support for timestamp of created time. (FF_FS_CRTIME)
382+
Fixed FatFs fails to load the FsInfo in FAT32 volumes and the f_getfree always be forced a full FAT scan which takes a long time. (appeared at R0.15a)
383+
384+
385+
386+
R0.16 (July 22, 2025)
387+
Removed a long-pending limitation that f_getcwd and double-dot .. in the path name did not work on the exFAT volume.
388+
Fixed f_readdir cannot detect end of directory and it leads the application process into infinite loop. (appeared at R0.15b)
389+
Fixed dot names with terminating separator or duplicated separator are rejected when LFN is not enabled.

components/dfs/dfs_v1/filesystems/elmfat/00readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FatFs Module Source Files R0.15
1+
FatFs Module Source Files R0.16
22

33

44
FILES

components/dfs/dfs_v1/filesystems/elmfat/diskio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*-----------------------------------------------------------------------/
2-
/ Low level disk interface modlue include file (C)ChaN, 2019 /
2+
/ Low level disk interface modlue include file (C)ChaN, 2025 /
33
/-----------------------------------------------------------------------*/
44

55
#ifndef _DISKIO_DEFINED
@@ -55,7 +55,7 @@ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
5555
#define CTRL_EJECT 7 /* Eject media */
5656
#define CTRL_FORMAT 8 /* Create physical format on the media */
5757

58-
/* MMC/SDC specific ioctl command */
58+
/* MMC/SDC specific ioctl command (Not used by FatFs) */
5959
#define MMC_GET_TYPE 10 /* Get card type */
6060
#define MMC_GET_CSD 11 /* Get CSD */
6161
#define MMC_GET_CID 12 /* Get CID */
@@ -65,7 +65,7 @@ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
6565
#define ISDIO_WRITE 56 /* Write data to SD iSDIO register */
6666
#define ISDIO_MRITE 57 /* Masked write data to SD iSDIO register */
6767

68-
/* ATA/CF specific ioctl command */
68+
/* ATA/CF specific ioctl command (Not used by FatFs) */
6969
#define ATA_GET_REV 20 /* Get F/W revision */
7070
#define ATA_GET_MODEL 21 /* Get model name */
7171
#define ATA_GET_SN 22 /* Get serial number */

0 commit comments

Comments
 (0)