hw_llm
39d8772d71
Description: 更新FatFs版本到R0.15a
...
IssueNo: https://gitee.com/openharmony/third_party_FatFs/issues/ICGE7Q
Feature Or Bugfix: Feature
Binary Source: No
Signed-off-by: hw_llm <liu.limin@huawei.com >
2025-06-19 16:34:59 +08:00
wangchen
70c330937b
Fix: 解决fatfs与patch的冲突
...
Close #I7OJ19
Signed-off-by: wangchen <wangchen240@huawei.com >
2023-07-27 17:04:51 +08:00
wangchen
fe2cea89a3
Fix: fatfs up to R0.15
...
Close #I7DSA5
Signed-off-by: wangchen <wangchen240@huawei.com >
2023-07-20 20:42:06 +08:00
zhangdengyu
2afe81bf58
fix: 修复ffconf.h中宏FF_FS_LOCK设置不合理的问题
...
方案描述:
1、修改FF_FS_LOCK宏定义为:#define FF_FS_LOCK (CONFIG_NFILE_DESCRIPTORS + LOSCFG_MAX_OPEN_DIRS - MIN_START_FD)
2、其中各个宏的含义如下:
2.1、CONFIG_NFILE_DESCRIPTORS 在vfs_config.h文件中定义,表示打开文件描述符fd的最大数量
2.2、LOSCFG_MAX_OPEN_DIRS 在vfs_config.h文件中定义,表示打开目录最大数量
2.3、MIN_START_FD 在vfs_config.h文件中定义,表示保留的三个文件描述符fd:stdin,stdout,stderr
BREAKING CHANGE:
修复ffconf.h中宏FF_FS_LOCK设置不合理的问题
修改后的FF_FS_LOCK宏定义为:#define FF_FS_LOCK (CONFIG_NFILE_DESCRIPTORS + LOSCFG_MAX_OPEN_DIRS - MIN_START_FD)
Close: #I663SZ
Signed-off-by: zhangdengyu <zhangdengyu2@huawei.com >
Change-Id: I5389e57d4276e99d40c79cb5a449c6e5a1f1179e
2022-12-15 14:21:52 +08:00
arvinzzz
373e182e55
fix: ff.h中MIN MAX宏定义不符合常规用法且存在重定义冲突风险
...
close: #I5OYYA
Signed-off-by: arvinzzz <zhaotianyu9@huawei.com >
Change-Id: Ibff61316dacd2d685471def2350ca97768ed322c
2022-08-31 12:04:21 +08:00
i-wangliangliang
12d09cb11c
iccarm工具链编译适配
...
Signed-off-by: i-wangliangliang <willfox@126.com >
Change-Id: I900f0d153109d9632430c91b024a3ce835d8407e
2022-07-12 09:23:03 +08:00
Far
bc2af47971
fix: 修复FATFS中的BUG
...
1. f_open接口在一些错误分支中未释放当前文件的锁,这会导致再次打开该文件时失败(EBUSY);
2. f_mkfs未正确初始化返回值FRESULT fr的值,导致不可预知的返回值;
3. f_fdisk循环条件错误,导致死循环;
Close #I4EZEC
Signed-off-by: Far <yesiyuan2@huawei.com >
2021-11-12 10:35:06 +08:00
Far
97668edb4f
feat: 三方库FatFs升级至r0.14a版本
...
1. f_mkfs接口增强,现在除了簇大小,同时支持fat表数量,数据区对齐大小,根目录大小的设置。
2. 抽象部分内部接口find_volume/create_partition,提高代码复用度。
3. 修复一些bug。
Signed-off-by: Far <yesiyuan2@huawei.com >
2021-09-22 14:57:01 +08:00
Leon Chan
88ae40fa83
fatfs readpage
...
Signed-off-by: Leon Chan <chenwei26@huawei.com >
2021-09-14 10:45:10 +08:00
mucor
7ef781c24c
fix: fix long file name buffer overflow check at 254 length
...
close: #I43S7Z
Signed-off-by: mucor <mucorwang@gmail.com >
2021-08-04 09:45:51 +08:00
Far
4094ea3cb8
fix: 修复FATFS中不同内部接口不支持FAT12/FAT16 FAT表结束标志
...
FATFS内部接口中,仅对FAT32的FAT表结束符0x0FFFFFFF做了判断,而忽略了FAT12和FAT16的结束标志。
这会导致子在FAT12/FAT16中,部分功能异常。
Close #I409R6
Signed-off-by: Far <yesiyuan2@huawei.com >
2021-07-13 11:28:25 +08:00
Far
13de8fe6ef
fix: 恢复了FATFS设置卷标的功能
...
Liteos_a FATFS需要提供格式化时设置卷标的功能,该功能在当前系统中缺失。
为了适配VFS层重构的逻辑,重新封装部分函数。
Close #I3Y5G8
Signed-off-by: Far <yesiyuan2@huawei.com >
2021-06-28 15:54:51 +08:00
mucor
6de0a16fa1
fix: remove redundant headfile
...
1.remove redundant headfile in kernel, such as:
compiler.h;debug.h;automount.h;inode.h;syslog.h;net.h;
2.split fs.h to file.h and driver.h
3.move vnode.h and path_cache.h to vfs/include
4.remove redundant interface and defines
close: #I3RTNR
Signed-off-by: mucor <mucorwang@gmail.com >
2021-06-19 14:44:56 +08:00
chenjing
0a7701824b
feat: fatfs支持符号链接功能
...
利用fatfs目录项中的保留字段,作为符号链接的标识符。
close #I3V8D1
Signed-off-by: chenjing <chenjing139@huawei.com >
Change-Id: I69fc4c668ed8377364dddd9bd28ebeef100d9b14
2021-06-10 18:05:18 +08:00
openharmony_ci
9faf7808c2
!13 FATFS f_write和f_lseek在磁盘写满的情况下未返回错误
...
Merge pull request !13 from Far/master
2021-05-18 14:23:02 +08:00
Far
4f46771d7b
fix: f_write and f_seek don't return error when disk is full
...
Close #I3N2LW
2021-05-14 09:43:41 +08:00
Far
eb9b7c3fe0
fix: statfs can't get f_bfree and f_bavail of a FAT12/FAT16 partition
...
FAT12/FAT16 partition has no FSINFO sector storing the free cluster number,
so scanning the FAT is necessary to get the free clusters nums.
Close #I3Q0VS
2021-05-07 16:11:22 +08:00
chenjing
cf972c7f35
fix: Add a log message.
...
Print log message when an exFat filesystem is recognized.
Close #I3O8IF
2021-04-26 16:25:10 +08:00
Caoruihong
19ee98bee8
drop unnessasery file x mode
...
Change-Id: Iae871ce706bef622350954601de615c7b79046a5
2021-04-23 23:29:30 +08:00
JING
8dba4a17a9
fix ftruncate
2021-04-22 11:13:36 +08:00
chenjing
6d9e4112c2
Description: [fix]ftruncate bugfix
...
Bug: #I3NEVN
Test:
2021-04-21 16:41:44 +08:00
JING
0501055b01
update source/ff.c.
2021-04-16 15:03:34 +08:00
JING
b88638fcb8
update source/ff.c.
2021-04-16 14:26:49 +08:00
chenjing
b07c3e1bc2
Description: [fix] LFN dir entry leak
...
Bug: #I3J1IC
Test:
2021-04-16 11:27:38 +08:00
Far
6eac1e16a5
Feature: scandir format optimization.
...
1. Before formating, user los_disk_cache_clear to clear the Bcache;
2. FATFS readdir use dir_read_massive to use the Bcache write block to improve readdir performance
Change-Id: I2820b86f533377b40b823e45e5c8734e8f115c7f
2021-04-15 14:54:04 +08:00
wangchenyang
cf90628516
Description:vfs refactoring
...
Feature or Bugfix:Feature
Binary Source:Huawei
PrivateCode(Yes/No):Yes
Change-Id: I175d2648bc6f9078c34de2c0a5c93fda10b86c47
ChangeID:13306396
2021-03-19 13:23:28 +08:00
mamingshuai
4a8df9c21e
update openharmony 1.0.1
2021-03-11 18:44:22 +08:00
evanscjv
2360f11114
Description: FatFs liteos_m adapt
...
Reviewed-by: shenwei
2021-01-08 11:29:20 +08:00
wenjun
072f2531ba
add OpenHarmony 1.0 baseline
2020-09-08 10:21:39 +08:00