Commit Graph

61 Commits

Author SHA1 Message Date
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
Bernard Xiong 88c9bc2d64 fix compiling error 2013-06-23 07:53:19 +08:00
Grissiom 3b91e8143b add missing dfs_mkfs prototype in dfs_fs.h 2013-05-17 20:07:55 +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 58fc3334b0 add dfs_fd check code in dfs and fix a warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 06:28:28 +00:00
dzzxzz@gmail.com 69521e2c8f fixed the coding style in components/dfs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +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
iamyhw@gmail.com e39022f3c7 dfs: add format flag O_BINARY
lzo: change to use posix interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2283 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-08 03:37:46 +00:00
bernard.xiong@gmail.com 2c22680aff remove dfs server init.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2021 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-07 16:10:57 +00:00
bernard.xiong@gmail.com df84097076 fix the spelling issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1934 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:58 +00:00
dzzxzz@gmail.com 4d7fe31bc2 correct a spelling error in dfs_def.h
DFS_STATUS_EAGIAN -> DFS_STATUS_EAGAIN 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1922 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 01:33:51 +00:00
bernard.xiong@gmail.com beaf51ff82 add full path options (DFS_FS_FLAG_FULLPATH) to the file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1904 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:37:21 +00:00
dzzxzz 44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
bernard.xiong@gmail.com b2f9217686 change to UNIX end of line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1746 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-08 14:50:08 +00:00
qiuyiuestc@gmail.com c99ca774a1 Modify the link mode, compile each component to static library first and then link them
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1405 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 00:29:28 +00:00