Commit Graph

215 Commits

Author SHA1 Message Date
Bernard Xiong 661338d279
Merge pull request #1473 from Bluebear233/patch-1
[DFS] Update net_sockets.c
2018-05-31 13:33:42 +08:00
Bluebear233 ec81f44ff9
Update net_sockets.c
修复创建socket失败仍然返回有效的fd
2018-05-27 21:37:08 +08:00
armink 488a0fd360 [fs][net] Add lwIP version check on setsockopt(). 2018-05-27 21:36:00 +08:00
zyh 38169bb51a [Components][Dfs][Fat]fix mkfs bug 2018-03-18 17:22:22 +08:00
Bernard Xiong fe66f24c69 [DFS] Add lastdata for poll of netsocket 2018-03-09 08:34:43 +08:00
BernardXiong 780c09e3e4 [libc] Fix the O_CREAT issue.
libc_stdio_set_console/newlib uses fopen to open console device, which
has O_CREAT flag and cause fault.
2018-02-11 13:57:51 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
liu2guang e63de3f66b [elm] Fixed elm device unmount error when mounting multiple elm devices. 2018-01-24 15:13:42 +08:00
MurphyZhao 938fa1170d [dfs] add IN6_IS_ADDR_MULTICAST support
in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
2018-01-17 15:50:34 +08:00
ZYH 5a29c1627c [Components][DFS][RAMFS]Fix bug
fix a bug cannot open file
2018-01-13 11:35:45 +08:00
bernard 8e4307382f [DFS] update JFFS2 with RT-Thread 3.0.x. 2017-12-30 14:45:34 +08:00
SummerGift 3b548038e1 [nfs] : optimize code format 2017-12-23 17:01:01 +08:00
SummerGift e8ec10d5e7 [nfs] : upgrade from gethostbyname to getaddrinfo 2017-12-23 16:55:54 +08:00
SummerGift 98d8145661 [nfs] : fix bug in nfs when enable ipv6 2017-12-23 11:58:23 +08:00
SummerGift d051c6dec0 [nfs]:Format Optimize 2017-12-15 17:31:12 +08:00
SummerGift 4d0e205406 [nfs]:Format Optimize 2017-12-15 17:31:11 +08:00
SummerGift 4779429ab0 [dfs]:fix bug in nfs caused by struct dfs_fd 2017-12-15 17:31:11 +08:00
aozima a2d1f21b43 [LWIP] fixed closesocket issues: socket has been closed, delete it from file system fd. 2017-12-14 16:52:46 +08:00
Bernard Xiong 2f409c85f1 [Kernel] Use rt_object_get_information to get object chain 2017-12-12 07:36:37 +08:00
Bernard Xiong 4d854ba5a9
Merge pull request #1049 from TanekLiang/romfs_open_fixed
[DFS] fix ROMFS get root directory bug
2017-11-28 23:20:09 +08:00
tanek liang c63ce381fe [dsf] fix romfs build error in IAR (__weak should in start for variable definition) 2017-11-28 21:40:09 +08:00
tanek liang 5ccbaae150 [DFS] fix ROMFS get root directory bug 2017-11-28 21:38:48 +08:00
DengQilong e79f9e6b02 fix bsp for lpc54608 2017-11-13 14:18:05 +08:00
Bernard Xiong 9bd094197e [libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options. 2017-11-05 14:36:48 +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 bc2abf69e2 [DFS] Fix the ramfs issue. 2017-10-31 09:53:22 +08:00
bernard cc9667b7a9 [DFS] Fix the RAMFS compiling issue. 2017-10-25 18:41:53 +08:00
bernard 67fff44fdd [DFS] Fix the UFFS compiling issue. 2017-10-25 16:23:02 +08:00
bernard 5bc690336b [DFS] Fix the romfs compiling issue. 2017-10-25 14:21:49 +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
yygg_you d428166f08 修复 mkfs失败的错误 2017-10-06 09:01:56 +08:00
xieyangrun 6b06cb83e3 rename WEAK to RT_WEAK 2017-09-18 11:32:13 +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
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
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 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 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
www220@tom.com 45d46b076f 修正romfs在输入的目录名称比实际的名称短时存在的判断错误
比如实际目录为abcde,msh执行 cd abc也能执行成功,判断名称时存在bug
2015-10-14 10:28:25 +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