Commit Graph

553 Commits

Author SHA1 Message Date
Meco Man 3b74f44d10 [lwip][cc]调整string.h位置 2021-06-13 13:10:20 +08:00
Meco Man 4c625fcb2f [lwip][cc] LWIP_TIMEVAL_PRIVATE: provided by <sys/time.h>
不需要再判断是否开启libc
2021-06-12 18:40:15 +08:00
sszlbg 57eb1c5a80 修改at_obj_set_urc_table函数重新分配内存可能导致内存泄漏问题 2021-05-29 15:51:12 +08:00
Meco Man ac3b3d13dd LWIP2.0.2 2.1.2 移除ERRNO
该定义只应该在141中使用到了
2021-05-22 12:13:31 +08:00
Meco Man 9352fdeba7 从LWIP移除ESHUTDOWN 2021-05-22 12:04:30 +08:00
Meco Man b10bef6f24 [sys/errno.h] 修复lwip报错 2021-05-22 03:20:01 +08:00
Meco Man a5f7635f31 remove libc_errno.h & libc_limits.h 2021-05-22 02:50:35 +08:00
Meco Man dfb8df71c9 [libc]修复因libc移除sys/errno.h文件导致的报错 2021-05-12 14:17:17 +08:00
Meco Man fdd2859cb5 [network][lwip][kconfig] 默认LWIP协议栈版本由2.0.2转为2.1.2 2021-05-09 20:37:12 +08:00
Bernard Xiong 18ccf1d182
Merge pull request #4523 from xiangxistu/master
[fix] the overflow problem of lwip rx thread mailbox.
2021-04-19 13:35:22 +08:00
liuxianliang 962a97b683 [restore] Restore format 2021-04-15 12:50:54 +08:00
liuxianliang ad9c4ea15b [restore] Restore format 2021-04-15 12:43:56 +08:00
liuxianliang 865e34650c [add] the function of set [internet up] status, activate the callback. 2021-04-12 18:11:37 +08:00
liuxianliang 3db7a98a18 [update] change the file encoding to UTF-8. 2021-04-06 11:41:14 +08:00
liuxianliang 2b549d93c8 [fix] change from enter critical area into disable interrupt. 2021-04-06 10:46:31 +08:00
liuxianliang 4431c4796f [fix] remove the possible critical zone risk 2021-03-31 14:59:12 +08:00
liuxianliang 154d73a4e7 [fix] iperf speed test have been stable. 2021-03-31 13:37:19 +08:00
liuxianliang 6d89a9f120 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one 2021-03-30 10:25:00 +08:00
liuxianliang adaa45eebe [fix] the overflow problem of lwip rx thread mailbox. 2021-03-26 10:04:37 +08:00
yangjie c30a715380 [components]update GPL license to Apache-2.0 2021-03-24 18:59:36 +08:00
Meco Man c40fd2da70 update 2021-03-17 14:00:49 +08:00
Meco Man 08af865c50 [at][bug] 修复内存泄漏的bug 2021-03-17 13:56:42 +08:00
Bernard Xiong b12615f344
Merge pull request #4427 from mysterywolf/components
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Meco Man 8e16fe6d85 [uip] remove uip 2021-03-12 10:36:50 +08:00
Meco Man ab04030f8f revert 2021-03-08 21:53:02 +08:00
Meco Man f6cb281440 [components] remove uip 2021-03-08 18:31:46 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
Bernard Xiong fac97f1716
Merge pull request #4305 from OpenNuvoton/revert-3293-fix_at
Revert "fix the bug that rx_notice out of sync when data received aft…
2021-03-03 08:53:01 +08:00
Wayne Lin eaacc0ae3e Optimize getc flow. 2021-03-02 10:42:40 +08:00
Bernard Xiong 2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +08:00
xiangxistu e02f3764bd [delete] useless logic 2021-02-25 14:44:02 +08:00
xiangxistu 7a2ae46ecf [fix] the wrong 'ifconfig' information for multi-network interface 2021-02-25 14:06:03 +08:00
Meco Man b2d3317c6a remove minilibc 2021-02-23 03:21:16 +08:00
liruncong 0208fc5546 [components]SECTION=>RT_SECTION(与catch2中SECTION冲突) 2021-02-09 23:25:46 +08:00
Wayne a50d81827a
Revert "fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero" 2021-02-04 22:53:58 +08:00
zhouji92 74691ea783 [fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。 2021-01-20 10:07:55 +08:00
xiangxistu 14ac354dca [update] when close auto check internet status, shield internet status information.
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 14:39:08 +08:00
xiangxistu 5db412b138 [add] a new function to manage internet check.
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 11:53:30 +08:00
Bernard Xiong 72bc0d8fad
Merge pull request #3293 from rgw5267/fix_at
fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero
2020-12-31 08:34:57 +08:00
Meco Man 63cd26b0d1 update 2020-12-30 16:32:20 +08:00
Meco Man c2e15e003c add function rt_hw_1ms_tick_get() 2020-12-29 00:08:24 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
liuduanfei 963f35e96d
Update netdev.c 2020-12-18 20:53:33 +08:00
thread-liu 82eac71064 [update] Incorrect macro definition name and update jobs name. 2020-12-10 09:51:32 +08:00
Bernard Xiong 86756c0d4c
Merge pull request #4065 from longtengmcu/master
fix at socket and sal_socket bug
2020-12-09 17:26:47 +08:00
caixf 0f991c2e3e [sal] fix 2020-12-08 15:48:58 +08:00
Bernard Xiong 082dda7a1d
Merge pull request #4051 from DavidLin1577/patch-15
[net/lwip2.1.2]Update ethernetif.c
2020-12-06 22:21:02 +08:00
yangjie11 ba83ddc3c4 [SConscript] change libcpu to LIBARCH,and correcte letter case 2020-11-30 15:52:43 +08:00
longtengmcu 962acc3313 1、修改宏定义的拼写错误,修改打印IMEI号时的打印错误 2020-11-22 20:05:53 +08:00
longtengmcu aac5e9da4c 1、web socket请求数据从服务器回来时,服务器会关闭连接,此时AT socket在读取返回的数据时不应该判断socket为连接的状态
2、sal socket在支持多网卡时,sal_getaddrinfo从A网卡获取的地址信息,在sal_freeaddrinfo释放时必须由A网卡进行释放
2020-11-22 12:36:07 +08:00
David Lin 88858f216c
Update ethernetif.c 2020-11-21 12:44:14 +08:00
David Lin 4f99d988d9
Update ethernetif.c 2020-11-21 12:35:19 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
qiyongzhong0 db0880bd26 fix at_client, avoid creating the same client repeatedly and prevent working exceptions and memory leaks. 2020-11-02 17:43:23 +08:00
gouqs0615 020a82a65a fix at_server_getchar spelling error 2020-11-02 16:44:13 +08:00
mysterywolf 22f8b142b6 [revert] [lwip] IAR环境 结构体恢复到之前状态 2020-10-24 18:39:31 +08:00
mysterywolf c7aa6f0619 [fix bug] #3902 2020-10-02 12:00:52 +08:00
Bernard Xiong de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
Ls2k add gmac
2020-09-11 13:33:16 +08:00
mysterywolf a890c67fb4 增加lwip/cc.h LWIP_TIMEVAL_PRIVATE是能与否的平台判断条件 2020-09-08 13:39:40 +08:00
bigmagic e0aa079e52 LwIP on 64 bit processor 2020-09-04 10:23:31 +08:00
luhuadong f56af401cc [at_socket] update AT_SW_VERSION and adjust at_socket_ops 2020-07-23 01:13:48 +08:00
luhuadong 067106f164 [at_socket] support alloc socket dynamically with at device 2020-07-21 00:29:12 +08:00
liuduanfei 13e768203d
delete duplicate header files 2020-06-28 23:20:31 +08:00
liuxianliang 0d8f90788f [remove] the doc folder of lwIP 2.1.2
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:58 +08:00
liuxianliang be64fcba86 [update] remove lwIP 2.1.0.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:11 +08:00
liuxianliang 5af6aa47c1 [update] remove doc doxygen files and add doxygen zip file.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-22 09:28:48 +08:00
liuxianliang 38db074fca [update] Added custom functions for RT-Thread.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:09:33 +08:00
liuxianliang de1fd2bfc4 [add] lwIP 2.1.2 transplantation on RT-Thread.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:01:09 +08:00
liuxianliang a9796b90ad [add] the code of original lwIP 2.1.2.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 13:44:12 +08:00
liuxianliang f715f29588 [fix] lwip clock confict with minilib clock
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-18 16:42:02 +08:00
xieyangrun 1418cb1875 [net/lwip]: enable LWIP_SO_LINGER option feature of LWIP. 2020-06-18 11:06:06 +08:00
David Lin 822df76f8e
Update ethernetif.c 2020-06-10 23:32:06 +08:00
David Lin aa0b68a575
Update ethernetif.c 2020-06-10 23:30:44 +08:00
David Lin 8beb439926
Update ethernetif.c 2020-06-10 23:27:25 +08:00
David Lin 4f53c68b3b
Update ethernetif.c 2020-06-10 11:09:11 +08:00
David Lin a5fddaecc3
Update ethernetif.c 2020-06-10 11:08:01 +08:00
David Lin 5f6c3d7345
Update ethernetif.c
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only  equal to  'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
Bernard Xiong a6a8b90935
Merge pull request #3618 from longtengmcu/master
fix three bugs about ethernet
2020-06-01 15:32:53 +08:00
longtengmcu d75f03e4b0 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
2020-05-21 22:05:38 +08:00
luhuadong ce35dfbc40 [AT] Adjust where the AT socket callback function 2020-05-20 01:11:46 +08:00
longtengmcu 63950c9259 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
2020-05-17 15:51:35 +08:00
luhuadong 88a02d7bd8 fixed some typos 2020-05-09 10:33:36 +08:00
Keyun-Johan 5ea637903d
Update sal_socket.c
OK
2020-04-13 17:42:37 +08:00
Keyun-Johan 63e855d78a socket_new()成功后,后续函数不成功返回-1,没有删除socket 2020-04-12 19:22:19 +08:00
luanxueguang a1dc525859 [update] 修复拼写错误 2020-04-02 13:50:09 +08:00
Bernard Xiong 87cf14d95f
Merge pull request #3389 from DavidLin1577/patch-3
Fixed typo: 'lenght'  and 'sfotware' in Kconfig
2020-02-22 20:03:03 +08:00
David Lin e16591ced1
Fixed typo: 'lenght' and 'sfotware' in Kconfig
lenght -> length
sfotware -> software
2020-02-19 22:35:43 +08:00
Bernard Xiong c3410c7884
Merge pull request #3380 from DavidLin1577/patch-8
[net] Fixed macro error in lc-switch.h
2020-02-17 12:17:23 +08:00
David Lin ca1e9137d6
[net] Fixed macro error in lc-switch.h
Fixed macro error: __LC_SWTICH_H__ -> __LC_SWITCH_H__
2020-02-16 20:54:45 +08:00
David Lin 812d3d2833
Fixed typo: 'lenght'
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:07:34 +08:00
luhuadong 3d5357bc75 [AT] Fix typos in Kconfig 2020-02-10 03:35:04 +08:00
liuxinaliang 83b290c289 [net][lwip] fix lwIP 2.1.0 personalized sign bug 2019-12-29 15:35:22 +08:00
liuxinaliang a0e62f665f [net][lwip] fix assert in the sys_arch_mbox_fetch function when close socket 2019-12-29 15:32:27 +08:00
任光伟 27b7e0d929 解决在判断接收字节为0与RESET信号量之间接收到数据时,导致此次数据无法被处理的bug。
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-26 00:53:19 +08:00
liuxianliang f9ef8c7ed9 [net][lwip] modified hostname, support lwIP 1.4.1 ,lwIP 2.0.2 and lwIP 2.1.2
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-21 17:43:32 +08:00
liuxianliang a9cad2b95b [net][lwip] rename hostname, change "RT-Thread_xx" into "RTTHREAD_xx"
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-19 10:36:40 +08:00
liuxianliang 3557d8f8a1 [net][lwip] add personalized RT-Thread sign into lwip protocol stack as hostname.
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-18 14:20:55 +08:00
HubretXie 3c2bfa2349
【修复bug】修复sal判断internet连接的隐藏bug
1、当前判断网卡是否连接Internet是通过连接rtt-thread的服务器来判断的,
2、这个月开始好像服务器挂了,不响应请求
3、这里超时用的2000秒,导致sys workqueue被卡死在这里了
2019-11-26 09:38:16 +08:00
malongwei c531fdc7ae 去除sal shut_down后释放socket导致close失败的问题 2019-11-16 12:33:09 +08:00