Commit Graph

75 Commits

Author SHA1 Message Date
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Bernard Xiong f11113f557
Merge pull request #5277 from mysterywolf/compatibility
implement legacy support
2021-11-24 17:37:25 +08:00
Meco Man 973f25901c [dfs] move dfs back 2021-11-16 00:57:56 -05:00
Meco Man c6c1544c84 implement legacy support 2021-11-14 23:51:05 -05:00
Meco Man 2b7d12661e remove RT_USING_LIBC from dfs_fs.h 2021-11-09 18:40:53 -05:00
Jianting (Meco) Man 702b91c3ce [dfs] 保留dfs_poll.h dfs_select.h,加warning提示 2021-10-27 23:44:46 -04:00
Meco Man 20924ea3f5 [dfs] remove dfs_select.h and dfs_poll.h 2021-10-17 17:16:59 -04:00
Meco Man dc5ee9ade7 [libc标准化] 将dfs_select.h功能转移到sys/select.h 2021-09-13 13:08:03 -04:00
guo 160d448660
Merge pull request #5051 from mysterywolf/be_libc
[libc标准化] 使用标准poll.h代替dfs_poll.h
2021-09-13 10:45:09 +08:00
Meco Man 2c525ecd43 将dfs_posix.h的函数声明转移到unix标准头文件中 2021-09-11 15:42:37 -04:00
Meco Man 92c62a8fab 标准化<poll.h> 弱化<dfs_poll.h> 2021-09-11 11:25:43 -04:00
Bernard Xiong 8da9f78d72 [libc] remove rtlibc 2021-09-11 11:07:51 +08:00
Meco Man dd9db58a86 优化dfs.h和dirent.h的包含关系 2021-09-01 09:28:16 -04:00
Meco Man aab382c32e [rtlibc] remove libc_dirent.h 2021-08-30 22:39:14 -04:00
Meco Man fc094e9211 [rtlibc] remove libc_signal.h and libc_fdset.h 2021-07-21 19:42:38 +08:00
Meco Man a5f7635f31 remove libc_errno.h & libc_limits.h 2021-05-22 02:50:35 +08:00
Meco Man 40c09fc1e0 重新分类为common文件夹下属all文件夹和excgcc文件夹 2021-04-21 00:56:36 +08:00
Meco Man 6026c68d37 加入<sys/types.h>声明 2021-04-18 01:00:37 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
tangyuxin 50dc41468e [add] DFS file system supports device types 2020-09-26 09:55:58 +08:00
Cliff Chen 1c68bd9d3c Support msc mode automatic switching
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-03-16 10:50:34 +08:00
hichard aafed7b434 1.修复sd卡热插拔内存泄露的bug
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-11-16 11:16:48 +08:00
zhangjun 60f2ae4d3c [components][dfs]添加ftruncate接口 2019-09-26 10:22:33 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
tangyuxin e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
yangfasheng c16d3de633 update dfs.c dfs_file.c dfs_file.h
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2019-01-09 17:40:32 +08:00
Bernard Xiong e108dfe4a5 [libc] Fix the _EXFUN issue in newlib 2018-11-10 16:58:07 +08:00
MurphyZhao c3cc7a29c8 [components][dfs] 移除冗余代码
[components][net] 修复 Kconfig
[components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 10:26:37 +08:00
MurphyZhao 58a6b51236 [components][dfs] AND [components][net][sal] 适配 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:21:41 +08:00
Bernard Xiong 8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
armink 6cd8658dad [rtdbg] Change all DBG_SECTION_NAME to new format. 2018-07-11 10:23:19 +08:00
Bernard Xiong bca65f30a9 [lwP] Add light weight process component. 2018-06-10 17:57:34 +08:00
Bernard Xiong 4e41b0573b [libc] fix the fcntl issue in newlib 2018-02-07 19:55:35 +08:00
BernardXiong 5a95d35626 [DFS] Add fcntl API (same with ioctl in RT-Thread). 2017-12-31 14:46:24 +08:00
bernard 7d673f921c [libc] Adjust libc.
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
bernard 0d45288f06 [libc] Add mode_t in rtlibc.h for Keil MDK/IAR. 2017-10-25 07:25:24 +08:00
bernard 8a38307e2c [libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +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
bernard bc0fbbfe82 [DFS] change the cmd to long data type. 2017-06-15 14:37:18 +08:00
bernard 0acf441836 Fix compiling warning for Win32. 2017-06-06 23:34:01 +08:00
Bernard Xiong 455daf8e7a Add ioctl API and fix the read/write conflict issue with newlib's API. 2015-12-22 10:18:36 +08:00
Bernard Xiong e5edc5b09a [DFS] Use the win32 stat structure if using MS VC++ compiler. 2015-10-11 15:39:07 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong 854d8866d3 [DFS] fix the compiling issue under Keil MDK. 2015-05-02 22:53:08 +08:00
bernard a118801bfe [DFS] Add dfs_filesystem_get_mounted_path() function. 2014-06-26 13:59:26 +08:00
Grissiom 5fdca8371b DFS: add dfs_file_flush prototype in dfs_file.h 2013-10-11 14:55:23 +08:00
bernard b96b35613f add mount table 2013-07-22 07:46:10 +08:00
yiyue.fang 773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong 9acd018cbb fix compiling warning 2013-06-23 07:57:22 +08:00