Commit Graph

72 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
bernard c53d9da22e [lwIP] fix lwip sem/mutex valid issue. 2022-12-03 14:21:06 -05:00
朱天龙 (Armink) 4c92886ee5 [net/lwip] Fix ppp retry assert error when tcp is connect. 2022-10-27 00:01:55 -04:00
Tangyuxin a4829b1c00
[fix] Fix simulator compilation warnings (#6438)
* [fix] Fix simulator compilation warnings

* Update bsp/simulator/rtconfig_project.h

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
Tangyuxin 577d619d4c
[net][lwip] Support windows simulator (#5993) 2022-05-30 18:01:18 +08:00
Meco Man 7fc707d99c [sal][kconfig] 重新梳理sal的依赖关系 2022-05-16 10:02:22 +08:00
thewon86 f5b0bfd3f4 uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
tyx 5fa15a19a0 [lwip] Fix compilation warning 2022-04-20 10:41:13 +08:00
guo 83c01cabf3
[lwip] delete useless RTM export (#5743) 2022-03-30 14:06:02 +08:00
Man, Jianting (Meco) a514b3bd16
[components][kconfig] 整理Kconfig目录名称和结构 (#5698) 2022-03-25 23:07:18 +08:00
Man, Jianting (Meco) 3df75f9e32
[lwip] add lwip latest version (#5629)
* [lwip] 增加LWIP上游同步版本

* move pkgs to package repo

* add RT_USING_LWIP_LOCAL_VERSION to let users to decide whether can use upstream version of LwIP

* Update Kconfig
2022-03-14 09:13:04 +08:00
Man, Jianting (Meco) b2fa700c2a
[lwip] integrate and improve lwipopts.h (#5613)
* [lwip-2.1.2] improve lwipopts.h

* 增加LWIP RTT侧版本定义

* 移动调整cc.h和lwipopts.h定义

* lwip2.1.2 2.0.3抽出lwipopts.h lwippools.h

* remove lwip1.4.1 lwipopts.h

* [update] modify the default config through v1.4.1

* delete the useless macro and modify some unclear comments.

* [lwipopts.h] 完善头文件相关宏以及临界区保护相关宏

* remove latest version label

Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-28 10:39:40 +08:00
Man, Jianting (Meco) e96e3e07f5
[lwip] integrate lwip porting layer (#5606)
* [lwip] integrate lwip porting layer

* Lwip 通用文件梳理 (#2)

* [modify] extract the common files for different version about lwip.

* [update] the initialization logic of lwIP.

* 整理源码结构

* ethernetif 头文件 ""改为<>

* 整理代码

* add macro definition "RT_USING_DEVICE_IPC".

* [update] mandatory selected "RT_USING_DEVICE_IPC".

* [modify] compile error for lost "lwip/init.h"

Co-authored-by: xiangxistu <52819708+xiangxistu@users.noreply.github.com>
Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-23 23:56:43 +08:00
Man, Jianting (Meco) 6895da5307
[net] adjust folder structure (#5587)
* [net] adjust folder structure
- 将lwip相关的文件夹,移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
2022-02-20 00:07:45 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
weety 707a657744 [FTP server]
1.Fixed PASV mode issue;
2.Implement RNFR and RNTO command;
3.Change some command code according RFC959;
4.Add command for msh shell;
5.Implement "noop" command.
2015-05-14 22:41:31 +08:00
aozima 7a0e9c3fc7 format code Astyle. 2014-06-14 21:55:51 +08:00
aozima 9ab59cf1e0 used parameter: size. 2014-06-14 21:54:59 +08:00
aozima f296c582a5 fixed bug: close socket when ping() exit. 2014-06-14 21:49:46 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Bernard Xiong 86fc696957 add the first porting for lwip 1.4.1 2013-03-25 04:40:09 -04:00
aozima 43228aeb9c fixed list_tcps bug: ipaddr_ntoa isn't reentrant. 2013-02-28 18:22:52 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
wuyangyong dd5742c9bc fix spelling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2581 bbd45198-f89e-11dd-88c7-29a3b14d5316
2013-01-01 12:25:32 +00:00
dzzxzz@gmail.com 555ccc5fa9 fixed a compiling error in lm3s9b9x bsp while using gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2517 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-24 06:39:21 +00:00
wuyangyong 7363cd15b9 clean IP when use DHCP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-09 07:25:28 +00:00
bernard.xiong@gmail.com 6d78189f1b Add RT_LWIP_ALIGN_SIZE setting for lwIP; Export BSD socket symbol to Application Module.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2470 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 04:14:00 +00:00
dzzxzz@gmail.com 451cb0281c fixed a compiling warning
warning:  #177-D: variable "i" was declared but never referenced

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2469 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 03:46:46 +00:00
dzzxzz@gmail.com f39686ebf8 fixed the compiling error while defined RT_USING_PPP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2467 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-08 02:55:31 +00:00
bernard.xiong@gmail.com 93b0d3e4ee The network interface can be initialized after lwIP initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:07:10 +00:00
bernard.xiong@gmail.com 5d710e8862 Add MSC compiler in lwIP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:20:41 +00:00
bernard.xiong@gmail.com ee4da4b03e Add DHCP flag when LWIP_DHCP was defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2230 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-24 00:23:50 +00:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
bernard.xiong@gmail.com 5969fffcd7 Added RT_LWIP_PBUF_POOL_BUFSIZE to handle PBUF_POOL_BUFSIZE definition in user configuration file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2072 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-15 13:04:12 +00:00
bernard.xiong@gmail.com ee439e74c3 fixed the compiling error when using IGMP protocol.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2056 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 12:01:49 +00:00
dzzxzz@gmail.com 3ae6d255e0 compiling LWIP 1.4.0 with IAR need these two header files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2049 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 11:09:34 +00:00
bernard.xiong@gmail.com 12b5decaa9 keep more compatible with RT-Thread driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2039 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 15:11:02 +00:00
luohui2320@gmail.com 95bcaa08d5 fix lwip compiling error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2024 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-08 10:48:48 +00:00
bernard.xiong@gmail.com 95c9e7de02 rename lwip-1.4.0 to lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2012 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:11:58 +00:00
bernard.xiong@gmail.com 06eb08e497 remove lwip.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2011 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:10:43 +00:00
bernard.xiong@gmail.com e1e1f13d61 uses lwip 1.4.0 in default.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2009 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-01 07:02:06 +00:00
fengzi.rtt 087da42d96 fix a bug about IGMP in ethernetif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1984 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-01 11:08:27 +00:00
bernard.xiong@gmail.com d4ebec7cce fix compiling issue when enable newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:07 +00:00
wuyangyong adb734ec50 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1834 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 13:22:26 +00:00
wuyangyong dc540968c4 update list_if() and set_if()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1833 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 11:36:36 +00:00
bernard.xiong@gmail.com 2fe93c9224 fixed lwip accept issue, if this connection has been deleted; added list_tcps function in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-04 08:29:14 +00:00
bernard.xiong@gmail.com 472cc9334a add errno implementation in RT-Thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +00:00
mbbill@gmail.com da55b1857f add static to function declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1677 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-22 13:49:46 +00:00
bernard.xiong@gmail.com 3dcb78d3e0 optimize netio code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1674 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-20 14:34:05 +00:00
bernard.xiong@gmail.com 2bc131f3a9 add eth_device_linkchange function on ethnet interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1669 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-14 12:56:30 +00:00