Meco Man
f89a162ea3
[core] 使用rt_memcpy rt_memset代替memcpy memset
2022-01-09 00:23:18 +08:00
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Meco Man
df9a23c534
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
2021-11-17 15:57:15 -05:00
Meco Man
32e9aa21c4
[fatfs] 修复time相关函数开启条件
2021-09-25 12:15:41 -04:00
Meco Man
d1d9c492f8
[bug][dfs] rt_strlen(name) + 1) -> DFS_PATH_MAX
2021-03-27 01:24:32 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Meco Jianting Man
19d56fbc50
Update dfs_elm.c
2021-02-19 07:49:48 +00:00
Meco Man
e90a0ee03c
[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
2021-02-18 15:43:22 +08:00
Meco Man
86ebf17a23
localtim改为gmtime
2021-02-07 21:49:25 +08:00
Meco Man
f073911cd3
解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数
2021-02-07 21:08:41 +08:00
Cliff Chen
1a9ecf27f3
[components] dfs: update elmfat to R0.14 patch 1
...
merge from https://github.com/abbrev/fatfs.git
(cf1fa008119c8ae2d05311ba3d97da0c4dca33b6)
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Change-Id: I321ba7933e1a4d6c07b3fbaa2a134eb54bb43b32
2020-06-12 16:31:43 +08:00
zhangjun
d08f533659
[components][dfs][filesystems][elmfat]修正代码风格
2019-10-08 09:11:35 +08:00
zhangjun
60f2ae4d3c
[components][dfs]添加ftruncate接口
2019-09-26 10:22:33 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
tangyuxin
e71ec65549
[components][dfs]格式化代码
2019-04-08 14:51:01 +08:00
HubretXie
889afa7b04
Update dfs_elm.c
...
fatfs: mkfs时增加FM_SFD参数,减少文件系统对flash空间的占用
2018-12-03 18:09:52 +08:00
Bernard Xiong
b5e9927b85
[license] Change the license of FS/DFS to Apache.
2018-10-15 01:46:07 +08:00
Bernard Xiong
8baf3d98e1
[DFS] fix the mkfs issue for multi-mounted fatfs
2018-07-28 16:34:51 +08:00
armink
0406175003
[components][dfs][fatfs] Add return 0 to get_fattime when RT_USING_LIBC not enable.
2018-06-11 19:57:57 +08:00
zyh
38169bb51a
[Components][Dfs][Fat]fix mkfs bug
2018-03-18 17:22:22 +08:00
liu2guang
e63de3f66b
[elm] Fixed elm device unmount error when mounting multiple elm devices.
2018-01-24 15:13:42 +08:00
bernard
6d9fcd04d2
[Kernel] Change the order of initialization.
...
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
bernard
0f5a68a55e
[dfs] add poll/select
...
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
yygg_you
d428166f08
修复 mkfs失败的错误
2017-10-06 09:01:56 +08:00
bernard
b7cf723162
[DFS] code cleanup
2017-06-15 14:36:59 +08:00
Urey
2426efe6b7
delete volatile
2017-05-26 21:05:10 +08:00
Urey
0e82a5b821
fix f_mount when mount more fats
2017-05-26 21:02:59 +08:00
xools
5b50c7e41b
fix fattime different from elmfat definition
2017-04-16 16:13:15 -07:00
Bernard Xiong
5502558df9
[DFS] fix the st_blksize issue in elm fatfs.
2017-04-11 09:33:25 +08:00
unknown
6ee81de429
hichard
2017-02-13 22:33:15 +08:00
Bernard Xiong
d2ec1f3eaa
[DFS] remove st_blksize in the struct stat
2015-10-01 06:46:52 +00:00
bernard
5a6ec7dcae
[DFS] fix the wrong field comparison in FAT mount.
2014-01-26 22:43:12 +08:00
bernard
e601c2a6ed
Add sector size check when mounting a FAT file system.
2014-01-26 20:30:37 +08:00
bernard
ac850ef3f0
add device_open/close in mkfs
2013-07-29 14:43:52 +08:00
yiyue.fang
773990abdb
Embedded GPLv2 license in dfs
2013-06-26 22:30:40 +08:00
Bernard Xiong
98c8a23e94
Add component initialization.
2013-06-23 07:48:42 +08:00
prife
157e326487
dfs_elm.c: fix the head file conflicts caused by time.h
2013-03-02 18:56:07 +08:00
aozima
9bb005312f
fixed uninitialized variable.
2013-03-01 12:34:01 +08:00
aozima
f71555ec55
fixed dfs(elmfat) bug: fixed the stat(st_mtime) issue.
2013-03-01 12:23:28 +08:00
prife
a4d661dcf1
fix memory leak in dfs_elm.c and umount fatfs when mount fatfs fails (this bug leads to mkfs failure in linux)
2013-01-22 23:47:32 +08:00
prife
1e6bf8671c
format dfs_elm.c with astyle
2013-01-08 19:52:00 +08:00
prife
5646189b29
elm fatfs support mkfs with no need to run dfs_mount elm first; and can mount/umount/mkfs without reset any more
2013-01-08 18:58:45 +08:00
goprife@gmail.com
5bc586d399
fix compile warnings in dfs_elm.c to make sure type matching
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2545 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 04:14:07 +00:00
bernard.xiong@gmail.com
a741197fa7
fixed the O_APPEND and lseek issue in DFS FatFS.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2496 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-19 01:57:43 +00:00
goprife@gmail.com
56ab153b1c
update dfs to support NFTL
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2478 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-13 02:13:34 +00:00
goprife@gmail.com
d5eb16dda2
fix the line break in dfs_elm.c(there are some windows line break characters)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 16:08:00 +00:00
sc943313837@gmail.com
c77e211d1d
add SYNC in function disk_ioctl
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-07 05:13:36 +00:00
goprife@gmail.com
6864f3a38b
fixed the memory leak in dfs_elm.c found by hezlog@gmail.com
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-17 02:33:18 +00:00
goprife@gmail.com
3ea99e46f3
fix bug in dfs_elm.c the fat->drv to index, because fat->drv is uninitialized in f_mount.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2256 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-21 10:06:59 +00:00
goprife@gmail.com
063fb36089
add f_opendir to open root directory in dfs_elm_mount to make sure that there is a valid fat
...
partition on physical media.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2251 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:46:48 +00:00