Commit Graph

45 Commits

Author SHA1 Message Date
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
qiuyiuestc@gmail.com ea009132a2 modify micro definition of file Operation flags
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-20 15:09:28 +00:00
bernard.xiong@gmail.com 24dfbe437d remove dfs_config.h file and fix filesystem lookup issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1332 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-12 00:17:41 +00:00
bernard.xiong@gmail.com e97ae6898f fix compiler warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1236 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 16:07:55 +00:00
bernard.xiong@gmail.com d4c03d07cf add fstat implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1057 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 23:36:33 +00:00
bernard.xiong b4a98e4457 Improve the Device File System of the POSIX compatibility
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1015 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:18:24 +00:00
qiuyiuestc 8d42ca4e71 delete #define stat _stat
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@932 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 11:09:03 +00:00
bernard.xiong 8772a35e3b change dfs_stat/dfs_statfs to _stat/_statfs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@822 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-03 08:47:09 +00:00
bernard.xiong@gmail.com 26aa51e8a6 add flush, statfs, mkfs to device file system interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@804 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:35:56 +00:00
bernard.xiong@gmail.com 33feb176d0 add flush, statfs, mkfs to device file system interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@802 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:15:53 +00:00
bernard.xiong c4a21b4456 add more options to filesystem mount function invoke.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@665 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-22 09:33:25 +00:00
bernard.xiong 075498e796 move to components directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@634 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 15:01:28 +00:00