Commit Graph

277 Commits

Author SHA1 Message Date
armink b4168cc60d [DFS] Fix `fd_new` failed return value. 2017-10-22 22:14:55 +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
ArdaFu b72bdefa46 [DFS][NFS] Fix compile error. Move nfs_file/nfs_dir data ptr into struct nfs_filesystem. 2017-10-17 13:53:39 +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 9122edd57c [Kconfig] Add more descrip for Kconfig 2017-10-09 15:12:42 +08:00
SummerGift f065e8cbd8 [添加]:配置宏RT_DFS_ELM_WORD_ACCESS。 2017-10-09 14:22:09 +08:00
Bernard Xiong 8d169a8b19 Merge pull request #862 from armink/fix_kconfig
Fix kconfig
2017-10-06 10:59:53 +08:00
yygg_you d428166f08 修复 mkfs失败的错误 2017-10-06 09:01:56 +08:00
armink 9d54556619 [KConfig] Change the RT_DFS_ELM_USE_LFN cfg to choice. 2017-10-05 16:20:21 +08:00
armink 9ff340f416 [KConfig] Add long file name configuration for FATFS. 2017-10-05 14:52:16 +08:00
xieyangrun 6b06cb83e3 rename WEAK to RT_WEAK 2017-09-18 11:32:13 +08:00
bernard bc0fbbfe82 [DFS] change the cmd to long data type. 2017-06-15 14:37:18 +08:00
bernard b7cf723162 [DFS] code cleanup 2017-06-15 14:36:59 +08:00
bernard 6e63cbb9be [DFS] "console" device check.
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
bernard 0acf441836 Fix compiling warning for Win32. 2017-06-06 23:34:01 +08:00
bernard 3101ba8ac8 [DFS] Add fd checking in dfs_file_close API. 2017-06-06 18:19:32 +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
lizhen9880 d883f7e23b fix the f_bsize and f_blocks issue in function dfs_uffs_statfs 2017-04-12 14:32:12 +08:00
lizhen9880 3e6f64fe7a the file description is modified to local variable in function
static void copydir(const char * src, const char * dst)
2017-04-12 10:53:53 +08:00
Bernard Xiong 5502558df9 [DFS] fix the st_blksize issue in elm fatfs. 2017-04-11 09:33:25 +08:00
Bernard Xiong 5e98c690a1 Merge pull request #700 from hichard/hichard
[DFS] update elm fatfs to 0.12b version.
2017-03-20 19:19:44 +08:00
unknown 6ee81de429 hichard 2017-02-13 22:33:15 +08:00
bernard d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
Bernard Xiong 7c38c59f62 [DFS] fix the name mistake in socket function. 2016-05-10 09:32:50 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00
Bernard Xiong e68a3a977a [DFS] Remove stat/fstat function under WIN32 simulation. 2016-04-06 01:16:09 +08:00
Bernard Xiong b39654d5a1 Merge pull request #610 from FlyLu/master
[DFS] Fix the ramfs issue.
2016-02-20 19:41:40 +08:00
FlyLu 0b3dd47347 修正ramfs.h中防止重复包含的宏定义名称
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +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
www220@tom.com 45d46b076f 修正romfs在输入的目录名称比实际的名称短时存在的判断错误
比如实际目录为abcde,msh执行 cd abc也能执行成功,判断名称时存在bug
2015-10-14 10:28:25 +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 d859e3e8b8 [DFS] export more symbols for dfs_lwip. 2015-10-11 15:38:35 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
Bernard Xiong b4e3fb2007 [DFS] add sys/tcp.h and sys/udp.h for compatibility 2015-09-25 07:00:11 +08:00
Bernard Xiong d1a1cbfdd7 [DFS] add sockaddr_storage structure in sys/socket.h 2015-09-25 06:55:55 +08:00
Bernard Xiong 6362a8606e [DFS] fix the lwIP select issue 2015-09-24 09:59:34 +00:00
www220@tom.com 3bd1a372a0 修正mkdir lseek中文件句柄不释放的bug 2015-09-11 19:34:37 +08:00
Bernard Xiong 3e310522e0 [DFS] Fix the compiling issue in NFS. 2015-08-03 16:17:27 +08:00
Bernard Xiong 52e0d3ce0f [DFS] Add fsync function 2015-07-16 10:35:42 +08:00
Bernard Xiong c6d4407c57 [DFS] Fix the fd clear issue. 2015-06-04 22:23:53 +08:00
pangwei 570e9470b1 [uffs] fix the SConscript file of uffs.
Signed-off-by: pangwei <271372443@qq.com>
2015-05-21 17:06:05 +08:00
Bernard Xiong 7e981e3e26 [DFS] Fix the accept/shutdown issue in dfs_lwip. 2015-05-11 12:32:53 +08:00
Bernard Xiong b7d069c4c8 [DFS] Add file header for select implementation 2015-05-05 13:23:01 +00:00
Bernard Xiong 3aa144d0be [DFS] add select implementation. 2015-05-05 13:16:26 +00:00
Bernard Xiong 10d3afde03 [DFS] rename netdb.c to lwip_netdb.c in dfs_lwip.
To avoid same file name, therefore change the netdb.c to lwip_netdbc in
dfs_lwip.
2015-05-04 20:34:07 +08:00
Bernard Xiong 854d8866d3 [DFS] fix the compiling issue under Keil MDK. 2015-05-02 22:53:08 +08:00
Bernard Xiong 5ca3da9e1c Merge remote-tracking branch 'upstream/master' 2015-05-02 01:33:58 +00:00
Bernard Xiong a7d6e284d0 [DFS] Export dfs_subdir/dfs_normalize_path symbol to module. 2015-05-02 08:55:08 +08:00