Commit Graph

602 Commits

Author SHA1 Message Date
dongly 3363586cbb
Fix some compilation warning (#5744)
* Fix some compilation warning

* 补充修正一些数据类型的使用错误

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
liuxianliang cca2f40ae0 [add] implement about "AT server". 2022-07-04 11:03:01 +08:00
Tangyuxin f5c88add37
Fix compiler warnings (#6023) 2022-06-08 01:21:50 +08:00
xiangxistu 2f9f39764d
[add] winsock implement on windows simulator. (#6010)
* [add] winsock implement on windows simulator.
2022-05-31 11:50:17 +08:00
Tangyuxin 577d619d4c
[net][lwip] Support windows simulator (#5993) 2022-05-30 18:01:18 +08:00
xiangxistu 4961ed59ba
[bug] use pointer that memory had freed. (#5971) 2022-05-23 01:46:22 +08:00
Meco Man 2575a93516 rename sal.h as sal_low_lvl.h 2022-05-16 10:02:22 +08:00
Meco Man 0e5bb9d042 revert docking 2022-05-16 10:02:22 +08:00
Meco Man 7fc707d99c [sal][kconfig] 重新梳理sal的依赖关系 2022-05-16 10:02:22 +08:00
Meco Man b793b6427a [sal] add draft for docking winsock 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) be892de35a
[posix] add RT_USING_POSIX_SOCKET (#5731) 2022-03-29 13:39:55 +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
geniusgogo 658b2c1027 fix 32bit & 64bit value to pointer interconvert. 2022-01-28 11:35:10 +08:00
Man, Jianting (Meco) 5a0fea6987
[Kconfig][libcpu] 增加ARCH_CPU_BIG_ENDIAN (#5547)
* [cpu] 增加ARCH_CPU_BIG_ENDIAN
- 之前RT_USING_BIG_ENDIAN的命名并不合理,予以替换为ARCH_CPU_BIG_ENDIAN
- 删除一处多余的ARCH_CPU_64BIT
- 整理了libcpu/Kconfig的格式

* [libcpu][Kconfig] Cortex-M4&7 select ARCH_ARM_CORTEX_FPU

* revert last commit
2022-01-25 15:00:47 +08:00
guozhanxin 1aa96f34cd [lwip]Improve lwip support for 64-bit architecture 2022-01-21 21:48:45 +08:00
Meco Man 3606065803 [lwip] remove lwip 2.0.2
- 移除2.0.2,该版本存在几个重要的bug,已经在2.0.3中修复,作者强烈建议更新
- 将部分bsp由2.0.2调整为2.0.3
2022-01-20 20:54:51 +08:00
Man, Jianting (Meco) c3162f373f
[libc][lwip] 修复ioctl与lwip socket定义冲突的问题 (#5504)
* [lwip] 修复ioctl与lwip socket定义冲突的问题

* format sys/ioctl.h
2022-01-17 11:21:39 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
wangqiang 3842d3749c modify annotation for sys_arch_mbox_tryfetch 2022-01-13 15:06:37 +08:00
wangqiang 9e89fa158d fixed the return value for sys_arch_mbox_fetch in lwip stack 2022-01-13 14:50:25 +08:00
Meco Man f89a162ea3 [core] 使用rt_memcpy rt_memset代替memcpy memset 2022-01-09 00:23:18 +08:00
Meco Man 9a61b65c13 [lwip] 修复dhcpd没有包含2.0.3版本的问题 2021-12-30 20:02:01 -05:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +08:00
Meco Man 093b9700c8 [kservice] remove RT_USING_ASM_MEMCPY RT_USING_ASM_MEMSET 2021-12-19 08:45:08 -05:00
jonas 7e06b6c504 [fix]修复AT组件在CLI模式下,指令输入过长导致数组越界的问题 2021-12-09 18:11:55 +08:00
liuxianliang 9b1f7c4ffe [fix] the problem of implicit declaration for "lwip_ip4_route_src". 2021-12-06 10:27:54 +08:00
Meco Man d7032b9c01 [lwip] solve the conflict between multi BYTE_ORDER(s) 2021-12-05 01:43:53 -05:00
guo fda37d55f8
Merge pull request #5319 from RT-Thread/master
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
Meco Man 7973ede5a8 增加RT_USING_POSIX_FS 2021-11-29 00:53:46 -05:00
Bernard Xiong 1cea0c8c79
Merge pull request #5279 from OpenNuvoton/nuvoton
[Nuvoton] Update drivers.
2021-11-25 20:03:58 +08:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
liuxianliang 8e518f234a [fix] format 2021-11-15 15:58:31 +08:00
yukelab be2006f325 fix sys_arch.c 2021-11-15 15:30:21 +08:00
yukelab cda78884aa ping cmd with specified netif in lwip-2.1.2
using LWIP_HOOK_IP4_ROUTE_SRC hook find specified netif route, using
cmd `ping 192.168.xx.xx e0`, ping dest using e0 netif. if not found
netif, using default netif, the effect is same as the cmd `ping 192.168.xx.xx` that only ping with default netif.
2021-11-15 15:30:20 +08:00
Wayne 17cbdda13d
Merge branch 'RT-Thread:master' into nuvoton 2021-11-15 11:28:34 +08:00
Wayne Lin 9b44e57a60 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton 2021-11-10 16:01:38 +08:00
Meco Man 1adcc181aa add delay.c as default 2021-11-08 10:52:37 -05:00
Meco Man 251e17b41a 调整SAL依赖项 2021-11-07 21:29:28 -05:00
Meco Man 664a1d6a75 增加 RT_USING_POSIX_SELECT RT_USING_POSIX_POLL 2021-11-07 20:53:57 -05:00
Meco Man 0009d1f393 [posix]将pthread收缩到posix选项之下,将选定DFS后由DFS选定POSIX 改为选择posix后选择dfs 2021-11-06 19:32:57 -04:00
Meco Man bd24c67d06 define RT_USING_BIG_ENDIAN for the long-term version 2021-10-18 17:41:14 -04:00
Meco Man ee4b7916a3 [libc标准化]脱敏dfs_select.h 由标准sys/select.h代替 2021-09-22 16:45:21 -04:00
Meco Man d6b60300a5 [.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下 2021-09-20 15:46:53 -04:00