4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 07:49:30 +08:00

3339 Commits

Author SHA1 Message Date
wenbodong2015
b9d24aff61 解决at_socket在极限情况下内存泄漏问题
AT模块在执行AT+CLOSE并返回OK后,在实际关闭前(上报URC前)仍然有
可能接收到数据。所以接收数据时需要判断状态是否为AT_SOCKET_CONNECT。

另,at_recv_notice_cb在拒绝数据包时,没有释放数据包内存,从而导致
内在泄漏。
2021-07-10 23:14:14 +08:00
wenbodong2015
e38a8e9378 解决at_socket编译失败的问题
失败现象为“找不到EAGAIN”,此问题由libc改动引发。
2021-07-10 23:10:11 +08:00
Bernard Xiong
5bae565f7f
Merge pull request #4858 from Guozhanxin/devfs
[devfs] F_GETFL/F_SETFL should be handled by the drivers.
2021-07-09 21:14:42 +08:00
guozhanxin
8102502b98 [devfs] F_GETFL/F_SETFL should be handled by the drivers. 2021-07-08 16:38:40 +08:00
malongwei
180d0e1224 add at_utils_send virtual function 2021-07-08 12:02:29 +08:00
malongwei
e7b63ed7ab fix at_vprintf and at_vprintfln and end_sign response 2021-07-07 23:49:42 +08:00
fenghuijie
c77ddf442a list-thread命令针对多核添加bind core显示 2021-07-03 16:35:33 +08:00
Bernard Xiong
77ad3361d9
Merge pull request #4836 from luhuadong/develop
[components][net][at] indent using 4 spaces
2021-07-02 12:11:14 +08:00
HubretXie
0fc7158ffb [drivers]serial.c
解决STM32串口使用DMA接收方式时,清空缓存bug
2021-07-01 14:21:06 +08:00
NightIsDark
247d1a50d7 git rebase commit 2021-07-01 14:06:12 +08:00
NightIsDark
550ad698e0 格式错误修订 2021-07-01 14:06:12 +08:00
NightIsDark
ce7d1c6ca6 修订PR邮箱错误无法签署CLA的问题 2021-07-01 14:06:12 +08:00
NightIsDark
122f90922e Revert "多网卡应用下,accept创建的socket应该和server使用一样的网卡(默认网卡不一定正确)"
This reverts commit 05124def81684a2bf73b89513e2ffaf88a03f806.
2021-07-01 14:06:12 +08:00
NightIsDark
a245403f4d 多网卡应用下,accept创建的socket应该和server使用一样的网卡(默认网卡不一定正确) 2021-07-01 14:06:12 +08:00
luhuadong
b17cf429db [components][net][at] indent using 4 spaces 2021-06-30 23:38:30 +08:00
Meco Man
898ea9e7d4 [components] 移除对老版本bsp的lwip版本默认选定 2021-06-28 15:33:14 +08:00
liuxianliang
0cbb1f08c1 [fix] set default lwip stack for old bsp folder. 2021-06-28 12:39:19 +08:00
liuxianliang
0e1266ac10 [remove] redundant script. 2021-06-28 11:47:13 +08:00
liuxianliang
4a884cd8ba [update] change default lwip stack to lwip2.0.3 2021-06-28 11:45:27 +08:00
liuxianliang
81ccffb5e4 [fix] delete useless code. 2021-06-28 11:44:29 +08:00
liuxianliang
9f45c13ac9 [update] the "event_callback" will be change by RT-Thread dfs. 2021-06-28 11:18:28 +08:00
liuxianliang
ff4a936812 [add] the support of lwip 2.0.3. 2021-06-25 15:58:43 +08:00
Bernard Xiong
fcb0a47328
Merge pull request #4819 from whj4674672/pm
[pm] index should be less than PM_MODLUE_MAX_ID
2021-06-24 21:32:25 +08:00
Bernard Xiong
8a23d0ccf2
Merge pull request #4796 from mysterywolf/__CLANG_ARM
将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION
2021-06-24 21:05:05 +08:00
guo
95cea205b1
Merge pull request #4812 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2021-06-23 13:45:38 +08:00
Meco Man
fa3d95bb1c [libc][syscall]整理函数格式 2021-06-23 01:37:41 +08:00
wanghaijing
5d4260ab6d [pm] index should be less than PM_MODLUE_MAX_ID 2021-06-22 23:56:55 +08:00
guo
6f1a505cd2
Merge pull request #4801 from mysterywolf/delay2
implement delay.c/.h
2021-06-21 17:14:05 +08:00
Bernard Xiong
bccdf912c8
Merge pull request #4764 from KyleChenjh/master
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-21 14:29:04 +08:00
guo
b032f9a6e2
Merge pull request #4793 from mysterywolf/lwipcc
[bug][lwip] 修复lwip临界区保护的bug
2021-06-20 11:27:52 +08:00
chenjh
0613cf8ca2 [serial] 解决serial_close未清除回调接口的问题 2021-06-18 14:54:37 +08:00
rtthread-bot
82560192a0 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-06-17 16:30:09 +00:00
bernard
82f3a84ec8 !64 componets:fix at_server_getchar spelling error
Merge pull request !64 from fwatch/dev
2021-06-17 08:52:20 +00:00
rtthread-bot
1e7dfa694f Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-06-16 09:32:46 +00:00
chenjh
5ac5d92cbb [serial] 优化发送非阻塞时,serial_close未执行rt_completion_done的问题。 2021-06-16 16:55:33 +08:00
Meco Man
56e3571e8a implement delay.c/.h 2021-06-16 14:15:31 +08:00
Meco Man
6697fa0ff5 [sleep] 加入调度器尚未运行时的延时情况 2021-06-16 12:16:11 +08:00
Bernard Xiong
ac50f5193e
Merge pull request #4792 from mysterywolf/ioctl
[libc][rtlibc] remove libc_ioctl.h
2021-06-16 09:46:06 +08:00
guozhanxin
66b7289ee7 [update] usleep supports calling in interrupts. 2021-06-15 18:37:39 +08:00
Meco Man
921e606426 将defined(__CC_ARM) || defined(__CLANG_ARM) 改为 ifdef __ARMCC_VERSION 2021-06-13 17:36:42 +08:00
Meco Man
5bb6e86cf5 [sys/errno.h] 修复armclang支持问题 2021-06-13 17:27:16 +08:00
Meco Jianting Man
4fd4074617 Merge branch 'RT-Thread:master' into ioctl 2021-06-13 16:19:59 +08:00
Meco Man
485df7a1f4 [bug][lwip] 修复lwip临界区保护的bug 2021-06-13 15:43:44 +08:00
Meco Man
3b74f44d10 [lwip][cc]调整string.h位置 2021-06-13 13:10:20 +08:00
Meco Man
fbcaa667f8 add sys/ioctl for serial 2021-06-13 12:51:07 +08:00
Meco Man
f94980af34 solve conflict 2021-06-13 12:45:04 +08:00
guo
b516cbd2ae
Merge pull request #4790 from mysterywolf/errno
[master][rtlibc] remove libc_errno.h & libc_limits.h
2021-06-13 09:36:29 +08:00
Meco Man
4c625fcb2f [lwip][cc] LWIP_TIMEVAL_PRIVATE: provided by <sys/time.h>
不需要再判断是否开启libc
2021-06-12 18:40:15 +08:00
Meco Man
ae0e0bdad4 [cputime] add sys/errno.h 2021-06-12 18:17:18 +08:00
Meco Man
740a810274 [errno][libc] 解决sys头文件在libc未开启时的引入问题 2021-06-12 18:11:51 +08:00