Commit Graph

3440 Commits

Author SHA1 Message Date
Bernard Xiong 9cbb6a741c
Merge pull request #4931 from ShermanShao/master
[components]rt-link v0.2.0 新特性:
2021-08-12 23:14:39 +08:00
Sherman 491524cb96 [components]rt-link v0.2.0 新特性:
1. service 通道增加【连接状态】属性
2. service 通道增加发送消息质量配置,ACK、CRC 可配置开关;
3. 发送接口支持阻塞、非阻塞两种发送方式;
4. 已对接到 device 框架,支持 rt_device 接口操作
5. 已对接到 DFS 框架,支持 POSIX 接口操作
6. 移除 hw_port 目录,改为软件包方式添加 hw_port
7. 修复已知 BUG
2021-08-12 18:10:49 +08:00
Bernard Xiong 39c8bef655
Merge pull request #4935 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2021-08-11 23:21:17 +08:00
greedyhao 3fae226630 [newlib] fix compile error when closing RT_USING_CONSOLE 2021-08-11 09:42:24 +08:00
rtthread-bot d545b2af04 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-08-10 16:25:59 +00:00
liuduanfei a24852b6ea update components/net/lwip_dhcpd/dhcp_server.c.
修改代码格式。添加空格
2021-08-10 09:06:12 +00:00
liuduanfei 745c7e0a7f update components/net/lwip_dhcpd/dhcp_server.c.
消除编译警告
2021-08-10 08:57:12 +00:00
Bernard Xiong 0880b43498
Merge pull request #4911 from mysterywolf/rt_delayed_work_init
[workqueue] remove rt_delayed_work_init()
2021-08-09 08:52:19 +08:00
Bernard Xiong b8a75f8f28
Merge pull request #4901 from mysterywolf/eth
[stm32][eth] beautify codes
2021-08-04 08:52:30 +08:00
Meco Man 396297a993 [ethernetif] replace rt_memcpy with SMEMCPY 2021-08-03 10:33:17 +08:00
Meco Man 4cac267927 [lwip] implement RT_USING_ASM_MEMCPY 2021-08-03 10:27:48 +08:00
Meco Man 94ed55f34d [workqueue] remove rt_delayed_work_init() 2021-08-01 17:26:01 +08:00
Meco Man 84db60ecfa [sdio] remove rt_mmcsd_blk_init 2021-08-01 07:31:32 +08:00
Bernard Xiong c3dab99463
Merge pull request #4880 from mysterywolf/tz
[libc][time] 修复若干问题
2021-07-31 08:29:22 +08:00
Meco Man 619fa4d9d8 [ringbuffer] 采用局部变量,防止出现资源竞争 2021-07-31 02:20:20 +08:00
rtthread-bot 26acd64cb1 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-07-30 16:26:31 +00:00
Bernard Xiong d57caa7e15
Merge pull request #4900 from mysterywolf/rtc
[rtc] 移除rtc_core.c/.h 将内容转移到rtc.c/.h
2021-07-31 00:06:38 +08:00
Meco Jianting Man 2589d24532
Merge branch 'master' into tz 2021-07-30 10:43:19 -05:00
Bernard Xiong 56d3abe301
Merge pull request #4879 from mysterywolf/signal
[rtlibc] remove libc_signal.h and libc_fdset.h
2021-07-30 23:30:49 +08:00
Meco Man a25667a7e5 [rtc] add comments 2021-07-30 07:01:09 +08:00
Meco Man 94a9332915 [rtc] 移除rtc_core.c/.h 将内容转移到rtc.c/.h 2021-07-30 03:24:50 +08:00
Meco Man 9e47b95e61 rt_rtc_dev_register -> rt_hw_rtc_register 2021-07-30 02:31:33 +08:00
Meco Man fb31ab9c72 [rtc] localtime 改 localtime_r 2021-07-30 02:03:55 +08:00
ImFovery 406cebe735
Update sockets.c
1、更正lwip_accept()中调用netconn_peer()失败时,netconn_delete()会被调用两次,从而导致进入rt_assert_handler()错误。
原因:(https://savannah.nongnu.org/bugs/?55536) bug #55536: lwIP 2.1.2: netconn_delete() called twice from lwip_accept()
2021-07-29 10:08:39 +08:00
sszlbg bf88963a3e Merge branch 'master' into at_client-rt_realloc_iss
# Conflicts:
#	components/net/at/src/at_client.c
2021-07-25 17:00:00 +08:00
Bernard Xiong 2b201cbb00
Merge pull request #4881 from mysterywolf/syswork
[workqueue] 将rt_work_sys_workqueue_init函数设为私有
2021-07-23 17:37:01 +08:00
Meco Man 19c5088bb8 [libc][time] 修复posix相关函数没有进行临界区保护的问题 2021-07-23 17:17:31 +08:00
guo abf3db624f
Merge pull request #4882 from mysterywolf/mistake
[SAL] 修复一处笔误
2021-07-23 13:36:25 +08:00
Meco Man 004e8bbf0f [SAL] 修复一处笔误 2021-07-23 03:52:35 +08:00
Meco Man a8ed7b7769 [workqueue] 将rt_work_sys_workqueue_init函数私有化 2021-07-22 18:24:56 +08:00
Meco Man 4ce6b2f5de [libc][time] 对posix相关函数 获取时间结果的判断逻辑做出调整 2021-07-22 01:30:24 +08:00
Meco Man 62ff77d493 [libc][time] 重命名非标准libc函数 并 调整time.h定义位置 2021-07-22 01:08:30 +08:00
Bernard Xiong e6467321c7
Merge pull request #4876 from mysterywolf/tz
[libc][timezone] implement timezone APIs
2021-07-21 21:40:16 +08:00
Meco Man fc094e9211 [rtlibc] remove libc_signal.h and libc_fdset.h 2021-07-21 19:42:38 +08:00
Meco Man 0f48449b5e [timezone] implement timezone 2021-07-21 14:47:57 +08:00
arminker 2439232c8a bugfix:write_index bug in rt_ringbuffer_put_force 2021-07-20 15:47:03 +08:00
guo 73bd7a7d66
Merge pull request #4868 from wenbodong2015/at_memleak
解决at_socket内存泄漏问题
2021-07-19 13:46:15 +08:00
wenbodong2015 0f6586c660 优化at_socket内存泄露的修改 2021-07-16 00:25:53 +08:00
Bernard Xiong 66cc36c70a
Merge pull request #4861 from CornerOfSkyline/fix_pthread_sem_init_err
Fix the sem init check bug in pthread.
2021-07-14 19:54:39 +08:00
Bernard Xiong 4919c41527
Merge pull request #4864 from linzhenxing-bit/master
修改mmc初始化错误,将card-》csd写成card-》cid
2021-07-14 17:09:07 +08:00
sszl 88d4faf687 更新old_urc_table为new_urc_table 2021-07-14 11:01:21 +08:00
Bernard Xiong 10308a645b
Merge pull request #4860 from KyleChenjh/serial
[serial_v2] Serial_v2 support device ops feature
2021-07-13 09:05:09 +08:00
guozhanxin 40e7d5a23d Merge remote-tracking branch 'remotes/gitee/master' 2021-07-12 10:14:20 +08:00
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
@lin12345678 9f9c3a2bb0 修改mmc初始化错误,将card-》csd写成card-》cid 2021-07-09 17:53:07 +08:00
CornerOfSkyline b277135f06 Fix the sem init check bug in pthread. 2021-07-09 11:51:48 +08:00
chenjh 22139e66ca [serial_v2] Serial_v2 support device ops feature 2021-07-09 11:27:46 +08:00
iysheng 2bd7e04827 [components][rtc] Add microsecond resolution support with RTC framework V2.0 2021-07-08 22:41:40 +08:00
iysheng a2a7f3c2d9 [components][rtc] Add RTC framework V2.0 to simplify RTC registration process 2021-07-08 22:41:06 +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
qiyongzhong0 9dea54ae8b Modify line 818 of the at_socket.c file from LOG_E to LOG_D 2021-06-28 14:28:31 +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
Meco Man 7fd22c9546 [msh]implement tail command 2021-06-09 16:45:40 +08:00