Meco Man
1997113fbc
FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS
2021-08-28 16:48:08 -04:00
Meco Man
3d5582380d
[finsh] 整理Kconfig 层次更分明
2021-08-26 10:08:12 -04:00
Meco Man
29828dc94f
[finsh] finsh组件可以选择是否包含内置命令
2021-08-25 19:48:15 -04:00
Bernard Xiong
bd44c1e590
Merge pull request #4970 from cndabai/master
...
Remove C Style Command Shell
2021-08-25 19:03:52 +08:00
马志远
782c288db6
Repair that the tab key on msh do not work.
2021-08-25 09:31:35 +08:00
guozhanxin
9e558ab130
【utest】fix TC_FAIL_LIST_MARK_FAILED 下标计算错误的问题
2021-08-24 17:06:51 +08:00
Bernard Xiong
3dc188fb7a
Merge pull request #4943 from chenyingchun0312/develop
...
【doc】add the comments of device-ipc completion
2021-08-24 09:57:12 +08:00
Bernard Xiong
531fa99dc3
Merge pull request #4966 from mysterywolf/ioctl
...
[ioctl] implement function of getting window's size(TIOCGWINSZ)
2021-08-24 09:45:20 +08:00
chenyingchun0312
39689ea5ed
Merge branch 'develop' of https://github.com/chenyingchun0312/rt-thread into develop
2021-08-23 18:54:03 +08:00
陈迎春
f0c963bf53
Merge branch 'RT-Thread:master' into develop
2021-08-23 18:53:42 +08:00
chenyingchun0312
5e02709c55
【doc】update completion.c comments
2021-08-23 18:52:31 +08:00
马志远
8a1e6c01ac
Disable FINSH_FUNCTION_EXPORT
2021-08-23 18:37:58 +08:00
马志远
221da7f464
Remove C Style Command Shell
2021-08-23 17:30:05 +08:00
Meco Man
b39837f480
[ioctl] implement function of getting window's size(TIOCGWINSZ)
2021-08-22 09:36:02 -04:00
Meco Man
60aaa9f9d8
[finsh] 将finsh_getchar函数暴露出来
2021-08-21 00:30:04 -04:00
Bernard Xiong
88dd2b0c98
Merge pull request #4952 from Guozhanxin/utest_failed_list
...
[add] utest add fail_list 用于收集错误
2021-08-19 22:29:38 +08:00
guozhanxin
38f5fec63e
[utest] 完善代码,添加对tc_num的判断
2021-08-19 11:21:31 +08:00
guo
a98860d146
Merge pull request #4942 from Jackistang/master
...
[add] add commets for ringbuffer and workqueue.
2021-08-19 09:51:37 +08:00
梁林
a6bf03a0c8
多个ulog后端时不支持support_color后端的log指针偏移错误,导致保存到文件的日志出现乱码。
2021-08-19 09:13:16 +08:00
Jackistang
4c6b4028e3
Update the comments for ringbuffer and workqueue.
2021-08-18 22:51:00 +08:00
Bernard Xiong
d71e2ac582
Merge pull request #4484 from mysterywolf/security
...
[kernel][devices] add security devices
2021-08-18 19:24:58 +08:00
Bernard Xiong
69cd36b5d0
Merge pull request #4905 from mysterywolf/rb
...
[ringbuffer] rt_ringbuffer_data_len采用局部变量承接,防止出现资源竞争
2021-08-18 19:24:13 +08:00
陈迎春
282ffbfd9b
Merge branch 'RT-Thread:master' into develop
2021-08-18 14:11:15 +08:00
chenyingchun0312
a6870449ba
【doc】update completion.c comments
2021-08-18 14:10:50 +08:00
Jackistang
3de03a072e
修改 ringbuffer 和 workqueue 注释的语法
2021-08-18 09:44:52 +08:00
guozhanxin
4af99b0dca
[add] utest add fail_list.
2021-08-18 09:39:21 +08:00
Man, Jianting (Meco)
3e6578916f
Merge branch 'master' into security
2021-08-17 16:56:10 -05:00
Jackistang
6173c9d7d5
fix comments error in ringbuffer and workqueue.
2021-08-17 22:44:29 +08:00
Meco Man
9479183e12
[kernel][device] 修复PR #4941 导致的编译警告
2021-08-17 06:51:27 -04:00
chenyingchun0312
7f2aaa210c
【doc】format drivers/src/completion.c
2021-08-16 13:10:26 +08:00
chenyingchun0312
96f773ffa9
【doc】add the annotation of device-ipc completion
2021-08-15 21:27:14 +08:00
Jackistang
a454422bd2
Merge branch 'master' of github.com:Jackistang/rt-thread
2021-08-14 14:33:26 +08:00
Jackistang
99de1a6220
format code
2021-08-14 14:32:58 +08:00
Jackistang
73753dd7fa
Merge branch 'RT-Thread:master' into master
2021-08-14 13:47:34 +08:00
Jackistang
1b7468979f
[ringbuffer] 添加 ringbuffer 的接口注释
2021-08-14 13:47:05 +08:00
Jackistang
0b4603d581
[workqueue] 添加了 workqueue 接口的注释
2021-08-14 11:10:43 +08:00
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
Wayne Lin
a4818ad3dd
Fix error code and return value.
2021-07-12 18:21:04 +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
chenjh
fac3c5cda1
[serial] 优化dma接收处理流程,解耦驱动调用串口框架的API接口
2021-06-08 09:38:43 +08:00
chenjh
d94be14df5
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-08 09:38:43 +08:00
sszlbg
57eb1c5a80
修改at_obj_set_urc_table函数重新分配内存可能导致内存泄漏问题
2021-05-29 15:51:12 +08:00
liuduanfei
ec1f22b87d
添加 rt_workqueue_critical_work 声明
2021-05-28 17:32:01 +08:00
Meco Man
07cab33b50
add sys/ioctl.h for pipe.c
2021-05-23 00:30:29 +08:00
Meco Man
5bce564738
add sys/ioctl.h for posix_termios.h
2021-05-23 00:25:49 +08:00
Meco Man
0e32728a5d
[libc][rtlibc] remove libc_ioctl.h
2021-05-23 00:17:08 +08:00
geniusgogo
6c01083502
fix shell msh_exec memory over-bound.
2021-05-22 19:52:50 +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
0e0e2a0f95
fix warning of posix_signal
2021-05-22 02:56:53 +08:00
Meco Man
a5f7635f31
remove libc_errno.h & libc_limits.h
2021-05-22 02:50:35 +08:00
Bernard Xiong
126af8e43c
Merge pull request #4712 from mysterywolf/devfs
...
[dfs] 将文件系统默认最大数量以及最大类型改为4
2021-05-21 21:27:42 +08:00
Meco Man
8676fd966e
[dfs] 将文件系统默认最大数量以及最大类型改为4
2021-05-21 18:02:43 +08:00
Meco Man
14c29063e8
[devfs] _device_fs增加注释
2021-05-21 17:50:57 +08:00
Bernard Xiong
0dc972bee6
Merge pull request #4707 from armink/fix_ulog
...
[ulog] Add output locker enabled API
2021-05-21 15:02:22 +08:00
Bernard Xiong
5fb709d72f
Merge pull request #4706 from mysterywolf/ymodem
...
[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
2021-05-21 15:01:53 +08:00
Meco Jianting Man
7ab3b4dedc
移除cmd.c首行空白行
2021-05-21 10:09:26 +08:00
armink
e0b9987508
[ulog] Add output locker enabled API
...
Signed-off-by: armink <armink.ztl@gmail.com>
2021-05-19 18:17:37 +08:00
Meco Man
4aaf52ae9e
[ymodem] 修改YMODEM_USING_FILE_TRANSFER功能的开启条件
...
目前开启的逻辑存在问题,ymodem的文件传输功能开启的前提是得有完整的文件系统,
但是目前,这个开启逻辑错了。
用户选择YMODEM_USING_FILE_TRANSFER功能后select DFS没有任何意义,因为除了需要依赖DFS之外还要依赖其他的例如FATFS,需要和SDIO适配等等等
正确的做法应该是用户配置好完整的文件系统后,ymodem文件传输才能有机会开启,
因此是depends on DFS 而非select DFS
更改之后,只要用户开启了文件系统,在选定YMODEM时,会自动开启文件传输功能,这也是用户希望看到的,直接一键搞定,不需要再多点一步
2021-05-19 12:59:33 +08:00
Bernard Xiong
6dc38962a9
Merge pull request #4691 from ShermanShao/master
...
[add] add new component: rt-link
2021-05-16 08:57:51 +08:00
Bernard Xiong
6cb1d4efcc
Merge pull request #4693 from mysterywolf/sim-sconcsript
...
[libc][bug] 修复在simulator win32平台下,none-gcc文件夹路径没有添加到工程的bug
2021-05-16 08:56:29 +08:00
Meco Man
cbcd9fe15e
[POSIX] beautify Kconfig
2021-05-16 00:02:58 +08:00
Meco Man
d9abe8fa30
修复在simulator win32平台下,nonegcc文件夹路径没有添加到工程的bug
2021-05-15 21:27:31 +08:00
Sherman
21f9e56253
[add] add new component: rt-link
2021-05-15 16:52:49 +08:00
Meco Man
dfb8df71c9
[libc]修复因libc移除sys/errno.h文件导致的报错
2021-05-12 14:17:17 +08:00
Bernard Xiong
1c823b3fc0
Merge pull request #4669 from mysterywolf/rtc_pre
...
[rtc] 将RTC框架内的NTP部分移除
2021-05-12 09:01:47 +08:00
Bernard Xiong
97c357b135
Merge pull request #4670 from mysterywolf/network
...
[network][lwip][kconfig] 默认LWIP协议栈版本由2.0.2转为2.1.2
2021-05-10 12:24:54 +08:00
Meco Man
fdd2859cb5
[network][lwip][kconfig] 默认LWIP协议栈版本由2.0.2转为2.1.2
2021-05-09 20:37:12 +08:00
Meco Man
7e7066f741
[Kconfig][driver]删除NTP相关配置
2021-05-09 19:43:50 +08:00
Meco Man
e71e693fd1
移除readme关于NTP部分
2021-05-09 16:10:58 +08:00
Meco Man
3fd276bb44
add comment
2021-05-09 15:59:27 +08:00
Meco Man
9de977a046
remove list_date
2021-05-08 23:51:47 +08:00
Meco Man
43e9aec85e
将rt_soft_rtc_init设为私有函数
2021-05-06 23:47:33 +08:00
Meco Man
f982d81389
[rtc driver]remove NTP
2021-05-06 23:43:44 +08:00
Bernard Xiong
c415410498
Merge pull request #4654 from mysterywolf/timezone
...
[libc][time]优化gettimeofday/settimeofday; 规范set_timeval/get_timeval函数返回值
2021-05-06 16:55:32 +08:00
Bernard Xiong
ed900427cd
Merge pull request #4657 from OpenNuvoton/touch_class
...
[components/drivers/touch] Bypass controlling commands in touch class to device driver.
2021-05-05 21:38:54 +08:00
bernard
141effcae3
!191 调整串口关闭时中断禁用和资源释放顺序
...
Merge pull request !191 from AubrCool/fix-serial.drv
2021-05-04 15:20:05 +08:00
Meco Man
787e46c6a3
[rtc]调整rtc驱动框架函数位置,功能无影响,为后续新的RTC框架铺路
2021-05-04 13:06:24 +08:00
Wayne Lin
4ed550a96c
Bypass controlling commands in touch class to driver.
2021-05-03 13:21:47 +08:00
Meco Man
8fee8d2c8c
remove const in set_timeval
2021-05-03 09:17:46 +08:00
Meco Man
1a55702ccb
修复DST_NONE 等宏定义位置放错导致报错的问题
2021-05-02 09:38:41 +08:00
Meco Man
3f74758f31
将<sys/time>改为"sys/time.h"
2021-05-02 09:29:46 +08:00
Meco Man
8ec1a63b23
增加tz_dsttime类型定义
2021-05-02 09:24:41 +08:00
Meco Man
47de526525
精简settimeofday代码;
...
在Linux中settimeofday以及gettimeofday函数的时区功能已经被废弃,因此增加注释予以提示。
gettimeofday实现了tz_minuteswest功能,tz_dsttime功能未实现,按废弃处理;
settimeofday时区功能废弃。
2021-05-01 16:22:27 +08:00
Meco Man
6fa385b987
[time] 补充注释
2021-05-01 14:23:50 +08:00
Meco Man
f4015029d2
gettimeofday()函数支持时区;规范set_timeval/get_timeval函数返回值
2021-05-01 14:18:46 +08:00
Bernard Xiong
be3b5a950f
Merge pull request #4653 from mysterywolf/fixed-timezone
...
[libc][time]增加手动设置固定时区的功能
2021-05-01 10:58:24 +08:00
Bernard Xiong
beb2f046c4
Merge pull request #4649 from mysterywolf/libc2
...
[libc][time] remove _TIMESPEC_DEFINED in common/sys/time.h and complete time.c
2021-05-01 10:58:10 +08:00
Meco Man
a611a66864
精简代码
2021-05-01 06:08:14 +08:00
Meco Man
65984a7116
add comment
2021-05-01 06:06:03 +08:00
Meco Man
0aa3b80fc3
在time.c中增加RT_LIBC_FIXED_TIMEZONE默认值,防止有些工程没有配置RT_LIBC_FIXED_TIMEZONE
2021-05-01 06:03:46 +08:00
Meco Man
a7a3ca9f02
增加手动设置时区的功能
2021-05-01 05:52:55 +08:00
Bernard Xiong
072899e137
Merge pull request #4636 from chunyexixiaoyu/dev
...
dlmodule can support riscv architecture
2021-04-29 14:36:45 +08:00
Meco Jianting Man
1627597fcc
remove _TIMESPEC_DEFINED
2021-04-29 04:42:11 +08:00
Meco Jianting Man
82f2d8e53d
time.c 删除函数名与括号之间的空格
2021-04-29 00:21:10 +08:00
Meco Man
850e1aeb52
[libc][time] 细微调整time.c
2021-04-28 13:03:43 +08:00
chunyexixiaoyu
2afca00787
[ADD]riscv.c dlmodule can support riscv architecture
...
[CHG]dlelf.c support distinguishing 32-bit ELF format and 64-bit ELF format
2021-04-27 21:24:42 +08:00
Aubr.Cool
e72008b614
update serial drv
2021-04-27 13:53:14 +08:00
Meco Man
cb7fa8fcea
implement pid_t gettid(void)
2021-04-26 14:34:26 +08:00
Meco Man
19347ed454
[libc][unistd] 完善isatty()
2021-04-26 14:31:31 +08:00
Bernard Xiong
428946c6ae
Merge pull request #4626 from mysterywolf/libc
...
重新整理common文件夹
2021-04-26 13:50:43 +08:00
Meco Man
ae66d82624
update sconscript
2021-04-25 21:32:08 +08:00
Meco Man
f9ba41f4c2
更改libc目录为common 以及 none-gcc
2021-04-25 21:10:31 +08:00
Bernard Xiong
75e13c6866
Merge pull request #4631 from rtthread-bot/rtt_bot
...
[update] RT-Thread Robot automatic submission
2021-04-25 20:06:24 +08:00
Bernard Xiong
e3c19a8463
Merge pull request #4601 from armink/fix_ulog
...
[ulog] Fix thread info show when kernel not startup.
2021-04-22 13:44:40 +08:00
Bernard Xiong
ed84d02eb3
Merge pull request #4618 from mysterywolf/key
...
[stm32 pandora] implement drv_key and modify drv_sdcard
2021-04-22 11:39:15 +08:00
rtthread-bot
8278898783
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-04-21 16:41:19 +00:00
guozhanxin
48bf53b6e0
【完善】uac class, 去除 GPL 代码
2021-04-21 16:39:14 +08:00
Meco Man
c871726e89
update readme
2021-04-21 02:16:29 +08:00
Meco Man
40c09fc1e0
重新分类为common文件夹下属all文件夹和excgcc文件夹
2021-04-21 00:56:36 +08:00
RiceChen
0b9e01cced
add I2C bus control api
2021-04-20 00:26:28 +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
Bernard Xiong
3fa35a398b
Update ulog.c
...
Use `rt_thread_self()` to determine whether the scheduler is started or not.
2021-04-19 06:50:58 +08:00
Bernard Xiong
65bc0faa76
Merge pull request #4609 from mysterywolf/ym
...
[ymodem] Check the file path's legitimacy of 'sy' command
2021-04-19 06:48:00 +08:00
Bernard Xiong
1916135b89
Merge pull request #4608 from majianjia/master
...
Add more trys when switching MMC card data width
2021-04-19 00:29:09 +08:00
Meco Man
926cd86589
remove dlib and armlibc sys folder
2021-04-18 01:36:35 +08:00
Meco Man
6026c68d37
加入<sys/types.h>声明
2021-04-18 01:00:37 +08:00
Meco Man
bc25c8a6e8
update sconscript
2021-04-18 00:55:32 +08:00
Meco Man
9d401ea8b0
重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar
2021-04-18 00:51:07 +08:00
Meco Man
8ca492e996
format pin.c
2021-04-17 18:01:20 +08:00
Meco Man
8956b2ea46
[stm32 pandora] implement drv_key and modify drv_sdcard
2021-04-17 16:28:09 +08:00
armink
fc97cd23d8
[libc/time] Revert the time.h
2021-04-16 09:21:01 +08:00
Meco Man
46d51a99f1
优化get_timeval set_timeval 条件编译代码结构
2021-04-15 16:34:09 +08:00
Meco Man
b74022e2c4
mktime support fixed timezone
2021-04-15 14:31:23 +08:00
armink
2ea39b4f05
[ulog] Using gettimeofday for timestamp get.
2021-04-15 14:15:39 +08:00
armink
6eb6752398
[libc/time] Fix MDK build error when using gmtime_r.
2021-04-15 14:12:02 +08:00
armink
3ae6ca1fb0
[ulog] Fix thread info show when kernel not startup.
2021-04-15 14:10:27 +08:00
Meco Man
8e2a456d7a
implement set_timeval
2021-04-15 14:01:55 +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
Meco Man
4accfc410c
修改get_timeval的错误返回形式
2021-04-15 00:57:01 +08:00
armink
76be91c7de
[libc/time] Add microseconds time get feature in gettimeofday.
2021-04-14 20:10:47 +08:00
Meco Man
a6ac475df3
[ymodem] Check the file path's legitimacy of 'sy' command
2021-04-14 01:34:28 +08:00
Jianjia Ma
398718f0f9
Update mmc.c
2021-04-13 18:27:53 +01:00
Jianjia Ma
4e74279d27
Add more trys when switching data width
...
Try a few times before switching to other data widths.
The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width.
(unless the debugging info is enabled, which add more delays)
With this EMMC, the fixed delay was set to 50ms for it to be able to work.
Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.
2021-04-13 18:04:59 +01:00
liuxianliang
865e34650c
[add] the function of set [internet up] status, activate the callback.
2021-04-12 18:11:37 +08:00
liuxianliang
97432efadf
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one
2021-04-12 11:20:11 +08:00
Meco Man
b4040df9dc
[libc][time][bug] LOG_W will cause a recursive printing if ulog timestamp function is turned on
2021-04-11 13:31:11 +08:00
liuxianliang
afe6dd9fe5
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one
2021-04-10 18:03:18 +08:00
StackRyan
791ecc093f
[fix] fix measurement unit of "percentage" to "permillage" for accuracy.
2021-04-07 16:59:27 +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
233e1cd8bc
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one
2021-04-06 10:42:58 +08:00
StackRyan
e6f9ecfe26
[add] add spo2 sensor support in drivers/include/drivers/sensor.h and drivers/sensors/sensor.c
...
Signed-off-by: yuanjie <yuanjie@rt-thread.com>
2021-04-02 21:43:58 +08:00
Bernard Xiong
199f73c72d
Merge pull request #4547 from rtthread-bot/rtt_bot
...
[update] RT-Thread Robot automatic submission
2021-04-02 18:37:40 +08:00
Meco Man
75ae0a544b
NULL -> RT_NULL
2021-04-01 23:04:53 +08:00
Bernard Xiong
50700c8d9b
Merge pull request #4480 from iysheng/serial
...
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close seria…
2021-03-31 17:51:58 +08:00
liuxianliang
4431c4796f
[fix] remove the possible critical zone risk
2021-03-31 14:59:12 +08:00
Bernard Xiong
6bb07da6e8
Merge pull request #4439 from OpenNuvoton/sfud_dualio_issue
...
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-31 13:53:02 +08:00
liuxianliang
154d73a4e7
[fix] iperf speed test have been stable.
2021-03-31 13:37:19 +08:00
jeshrz
7c999e1950
enhance robustness for pthread
2021-03-31 09:22:47 +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
rtthread-bot
11dd63e9e9
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-03-29 06:39:42 +00:00
Bernard Xiong
fefeff8de1
Merge pull request #4535 from mysterywolf/time
...
[libc][time] add debug tag
2021-03-28 17:50:43 +08:00
Bernard Xiong
7d1a7e3f73
Merge pull request #4513 from yangjie11/comp-license
...
[components]update GPL license to Apache-2.0
2021-03-28 16:53:26 +08:00
Meco Man
a584b8ba6b
[libc][time] add debug tag
2021-03-28 10:33:13 +08:00
Bernard Xiong
9cf0720b68
Merge pull request #4531 from whj4674672/pipe
...
pipe name depend on RT_NAME_MAX
2021-03-27 14:51:15 +08:00
Bernard Xiong
029e016176
Merge pull request #4527 from CraztTnspt/master
...
[components][finsh] add support for tasking toolchain
2021-03-27 14:50:32 +08:00
Bernard Xiong
ec6d707539
Merge pull request #4526 from mysterywolf/time1
...
[libc][time] add LOG_W to give a warning when RTC device is not used
2021-03-27 14:22:10 +08:00
wanghaijing
78c370d793
pipe name depend on RT_NAME_MAX
2021-03-27 11:56:50 +08:00
Meco Man
d1d9c492f8
[bug][dfs] rt_strlen(name) + 1) -> DFS_PATH_MAX
2021-03-27 01:24:32 +08:00
crazt
86f12ac118
[components][finsh] add support for tasking toolchain
2021-03-26 17:39:40 +08:00
Meco Man
0ec2a5f782
[libc][time] add LOG_W to give a warning when RTC device is not used
2021-03-26 17:36:43 +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
Bernard Xiong
5c50a8794f
Merge pull request #4458 from mysterywolf/time
...
[libc][time] 修复没有末尾\0的bug
2021-03-23 20:10:37 +08:00
Bernard Xiong
5ded4a1f52
Merge pull request #4476 from xfwangqiang/sensor_pr
...
[components][sensor]Optimize the Sensor Module
2021-03-23 20:09:26 +08:00
Bernard Xiong
58ba2d5e9d
Merge pull request #4492 from mysterywolf/pin
...
[stm32][pin] 删除无用注释
2021-03-23 20:01:14 +08:00
wangqiang
c72227680d
Fixed formatting issues
2021-03-22 10:11:42 +08:00
Meco Man
b7bfa04c06
[dfs] cat命令执行后增加\n 与linux行为一致
2021-03-21 02:03:45 +08:00
Meco Man
80256f6a92
[stm32][pin] 删除无用注释
2021-03-21 01:48:25 +08:00
Bernard Xiong
230af2d111
Merge pull request #4446 from dillon-min/comp
...
[component][driver][usb] Make compositive usb device string more clear
2021-03-20 18:24:51 +08:00
Bernard Xiong
677f9c5aa6
Merge pull request #4470 from mysterywolf/ioctl
...
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-19 22:52:40 +08:00
Meco Man
37a9231e62
[kernel][devices] add security devices
2021-03-19 13:26:12 +08:00
iysheng
fcffea4501
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close serial device regardless of DMA config
2021-03-18 10:51:50 +08:00
Bernard Xiong
6a80bcef1f
Merge pull request #4473 from mysterywolf/AT
...
[at][bug] 修复内存泄漏的bug
2021-03-17 17:57:22 +08:00
wangqiang
3487f2790a
1. 优化pin.h, sensor.h, rtdevice.h,避免反向包含
...
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数
3. 优化rt_device_register和sensor_polling的LOG信息
4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17 17:42:43 +08:00
wangqiang
da0e3ed35d
将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h的头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-17 15:20:54 +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
wangqiang
58bb9f5b2e
优化ops的检测代码
2021-03-17 13:44:05 +08:00
xfwangqiang
613f89a372
检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义ops中的函数而造成的问题
2021-03-17 13:44:05 +08:00
Meco Man
9d17aa7ce5
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-17 02:37:42 +08:00
dillon-min
247df39bfe
Merge branch 'master' into comp
2021-03-16 20:15:43 +08:00
tangyuxin
1b68098f08
[libc] Fix Win32 compilation errors
2021-03-16 14:07:36 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Bernard Xiong
0ae1743b61
Merge pull request #4449 from yangjie11/yj_dev
...
[components][dfs] remove jffs2 and uffs
2021-03-16 09:07:15 +08:00
yangjie
3ec59a8865
[components][dfs/Kconfig] 修改help描述
2021-03-15 13:44:25 +08:00
Meco Man
cc1277d491
[libc][time] 修复没有末尾\0的bug
2021-03-15 11:29:42 +08:00
Dillon Min
9789e4c930
component: driver: usb: enlarge uconfig_descriptor's data array space
...
if you add more compositive usb device(more than 4), the data[256]
can't hold all the devices's config information, array out of bounds.
Fixes: 60c27fc4b
("add USB composite and mass storage class features in USB device stack")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
2021-03-12 16:30:39 +08:00
Bernard Xiong
7ae652ca77
Merge pull request #4451 from mysterywolf/uip
...
[uip] remove uip
2021-03-12 16:12:27 +08:00
Meco Man
8e16fe6d85
[uip] remove uip
2021-03-12 10:36:50 +08:00
Meco Jianting Man
cd4cf46f3b
Delete dfs_jffs2.h
2021-03-12 10:10:31 +08:00
Meco Jianting Man
5dfe7a8f68
Delete dfs_jffs2.c
2021-03-12 10:10:21 +08:00
Meco Jianting Man
c6b6b77716
Delete dfs_uffs.h
2021-03-12 10:09:56 +08:00
Meco Jianting Man
40a087fc8d
Delete uffs_rtthread.c
2021-03-12 10:09:47 +08:00
Meco Jianting Man
f3fbbf8477
Delete dfs_uffs.c
2021-03-12 10:09:34 +08:00
Dillon Min
effcee25b7
component: driver: usb: Add usb interface string(iInterface) setting
...
To make compositive usb device string more reansonable, not all devices
just show same "RTT Composite Device" on windows device manager.
add a interface rt_usbd_device_set_interface_string to set respective
interface string.
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-11 17:29:41 +08:00
yangjie
29d11a6d0d
[components][dfs] remove jffs2 and uffs
2021-03-11 16:47:15 +08:00
Meco Jianting Man
bc606f9a78
Delete rmtx.c
2021-03-11 15:42:22 +08:00
Wayne Lin
22ab98a59e
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-10 23:31:14 +08:00
Meco Man
0c9bcefc6c
[ioctl] 增加TIOCGWINSZ功能
2021-03-10 20:30:13 +08:00
Bernard Xiong
d9b8984398
Merge pull request #4433 from mysterywolf/clang
...
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 21:00:15 +08:00
Bernard Xiong
8bb2817d35
Merge pull request #4366 from whj4674672/wqueue
...
[fix] wait queue flag 赋的值使用宏
2021-03-09 20:59:28 +08:00
Bernard Xiong
783b6949ab
Merge pull request #4432 from mysterywolf/mutex
...
[libc] remove inherent mutex protection
2021-03-09 20:54:25 +08:00
Meco Man
09c5420d21
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 17:51:35 +08:00
Meco Man
9952042b0c
remove inherent mutex protect
2021-03-09 11:33:22 +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
ea22af576c
Merge pull request #4422 from mysterywolf/libctime
...
[libc] remove difftime()
2021-03-05 23:47:34 +08:00
Meco Man
ff9210a84d
revise comment
2021-03-05 23:13:57 +08:00
Meco Man
3253312758
remove difftime()
2021-03-05 23:09:00 +08:00
Bernard Xiong
729a1ad3b4
Merge pull request #4280 from enkiller/0130-1631
...
[finsh] add mount/umount cmd
2021-03-05 08:17:28 +08:00
tangyuxin
991c25dd5d
[finsh] add mount/umount cmd
2021-03-03 21:29:46 +08:00
Bernard Xiong
7628f36f05
Merge pull request #4376 from LeeChunHei/hid_fix
...
修復usb host hid和umouse驅動
2021-03-03 13:54:54 +08:00
Bernard Xiong
d9b88ddf2b
Merge pull request #4290 from enkiller/0201-1456
...
优化工作队列体积,临界区保护更加完善
2021-03-03 08:53:27 +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
iysheng
0b2212f773
[components][ulog] Add support with timestamp print in function ulog_hexdump
2021-03-02 12:11:19 +08:00
Wayne Lin
eaacc0ae3e
Optimize getc flow.
2021-03-02 10:42:40 +08:00
Bernard Xiong
339ebf3c16
Merge pull request #4401 from howard0su/i2c_security
...
Return when i2c transfer 0 messages
2021-03-01 19:09:12 +08:00
Bernard Xiong
0a54f4c3dd
Merge pull request #4388 from mysterywolf/getline
...
[libc][getline] 删除不必要的声明信息
2021-03-01 15:18:52 +08:00
Howard Su
5a184c19b2
Return when i2c transfer 0 messages
...
msg->flags is accessed without proper intialized msg variable.
2021-02-28 16:42:27 +08:00
Meco Man
70f5c10262
remove comments
2021-02-28 11:12:18 +08:00
Meco Man
ac275965f2
[libc][newlib] 对syscall中malloc相关桩函数做出编译调整
2021-02-28 11:09:48 +08:00
Bernard Xiong
2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
...
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +08:00
Meco Man
952e35d9d3
update Kconfig
2021-02-26 06:34:52 +08:00
Meco Man
88abde1578
[libc] beatify getline
2021-02-26 06:17:22 +08:00
Bernard Xiong
fae0fa8eea
Merge pull request #4383 from mysterywolf/istty
...
[libc]fix bug of _isatty_r()
2021-02-26 00:48:58 +08:00
Bernard Xiong
4f6fea18c6
Merge pull request #4385 from mysterywolf/mutex
...
[libc][armlibc] add multithreaded protection
2021-02-26 00:23:18 +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
1ce2065660
[libc][armlibc] add multithreaded protection
2021-02-25 09:14:19 +08:00
Meco Man
20b95b8af5
[libc]fix bug of _isatty_r()
2021-02-24 22:09:00 +08:00
Bernard Xiong
b7a71b8552
Merge pull request #4371 from mysterywolf/fixold
...
[libc] 去除RT_USING_NOLIBC 历史遗留
2021-02-24 16:45:29 +08:00
Bernard Xiong
86aec6371a
Merge pull request #4381 from mysterywolf/exit
...
[kernel] rt_thread_control() 关闭线程后增加rt_schedule调度
2021-02-24 16:43:00 +08:00
Meco Man
2b98ac215a
[kernel] rearrange rt_thread_control() - schedule the thread when close it
2021-02-24 16:29:43 +08:00
LeeChunHei
00727d6b6d
provide possibility for multi usb host
2021-02-23 17:05:01 +08:00
LeeChunHei
e03eaec462
update to new usb api in hid and mouse source file
2021-02-23 13:42:19 +08:00
Meco Man
bf7a3af6fd
update readme
2021-02-23 11:28:25 +08:00
Meco Man
6ee0d45644
update
2021-02-23 11:16:41 +08:00
Meco Man
9220447060
update
2021-02-23 10:28:13 +08:00
Bernard Xiong
4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動"
2021-02-23 09:44:27 +08:00
Bernard Xiong
d9c3459e11
Merge pull request #4295 from LeeChunHei/test_branch
...
添加imxrt的pulse encoder和usb host驅動
2021-02-23 09:41:27 +08:00
Meco Man
497e7b45d4
remove minilibc
2021-02-23 03:28:19 +08:00
Meco Man
b2d3317c6a
remove minilibc
2021-02-23 03:21:16 +08:00
tangyuxin
4f2359d34c
[workqueue] 修复临界条件线程意外挂起问题
...
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。
将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
2021-02-22 17:10:33 +08:00
Meco Man
19c8cab8bd
update
2021-02-22 17:02:45 +08:00
Meco Man
69dc37e1aa
update
2021-02-22 16:53:54 +08:00
Meco Man
46b5eb378f
remove _getpid_r()
2021-02-22 16:30:10 +08:00
tangyuxin
791b8a35de
[workqueue] 系统默认工作队列初始化阶段提前
2021-02-22 11:23:20 +08:00
wanghaijing
b39a7c4822
[fix] flag 的赋值使用宏的方式
2021-02-22 10:12:49 +08:00
Meco Man
19ef112016
improve and beautify syscalls
2021-02-21 18:20:45 +08:00
Meco Man
3ebb48fae1
add comment
2021-02-21 18:05:47 +08:00
Meco Man
c13c00e45c
update
2021-02-21 18:01:29 +08:00
Meco Man
d06420e1d7
implement getuid and getpid
2021-02-21 17:25:36 +08:00
Bernard Xiong
4094b0e398
Merge pull request #4358 from mysterywolf/master
...
[libc] 优化abort函数
2021-02-20 12:15:49 +08:00
Bernard Xiong
aa0adeccad
Merge pull request #4349 from mysterywolf/fatfs
...
[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
2021-02-20 12:14:52 +08:00
Bernard Xiong
b204651517
Merge pull request #4333 from mysterywolf/pthread
...
[pthread][libc][time] 修改pthread与libc的时间函数若干问题
2021-02-20 12:12:56 +08:00
Meco Man
ae2d414ca1
add system() for IAR
2021-02-20 11:57:41 +08:00
Meco Man
0ce0e2c234
update
2021-02-20 11:35:41 +08:00
Meco Man
eaa3454bbe
优化abort函数
2021-02-20 11:31:58 +08:00
Meco Jianting Man
19d56fbc50
Update dfs_elm.c
2021-02-19 07:49:48 +00:00
Meco Man
e90a0ee03c
[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
2021-02-18 15:43:22 +08:00
Bernard Xiong
7ed6644db9
Merge pull request #4344 from mysterywolf/exit_1
...
[libc][common] 精简exit和abort函数
2021-02-18 00:06:18 +08:00
Meco Man
263d856fa4
update
2021-02-17 23:50:12 +08:00
Meco Man
3392d7fe50
[libc][newlib]重定义CLOCKS_PER_SEC宏
2021-02-17 03:21:20 +08:00
Meco Man
933c54c668
update
2021-02-17 00:27:24 +08:00
Meco Man
9f5878b2fb
update
2021-02-17 00:18:49 +08:00
Meco Man
e927a53b41
精简exit abort system函数
2021-02-17 00:02:28 +08:00
Bernard Xiong
06f47dafd2
Merge pull request #4339 from mysterywolf/exit
...
[libc][keil]实现_sys_tmpnam()函数
2021-02-15 23:43:32 +08:00
Bernard Xiong
91d29c33db
Merge pull request #4340 from mysterywolf/RT_TICK_PER_SECOND
...
[libc][keil] 在sconscript中定义CLOCKS_PER_SEC宏
2021-02-15 23:30:10 +08:00
Bernard Xiong
d1cb9c5d97
Merge pull request #4341 from mysterywolf/unlink
...
[libc][iar][gcc] 优化remove函数
2021-02-15 09:28:48 +08:00
Bernard Xiong
7d72bdf303
Merge pull request #4314 from mysterywolf/mktime1
...
[bug][localtime]解决底层驱动格林威治时间与当地时间混乱使用的问题
2021-02-15 09:26:52 +08:00
Meco Man
c842f2a067
change header
2021-02-15 08:05:49 +08:00
Meco Man
540bacad9c
update
2021-02-15 08:03:52 +08:00
Meco Man
abcb050603
[libc][iar][gcc] 优化remove函数
2021-02-15 07:53:58 +08:00
Meco Man
4615a7d96c
remove gcc
2021-02-15 07:35:14 +08:00
Meco Man
33769db3cf
[libc][gcc][keil] 在sconscript中定义RT_TICK_PER_SECOND宏
2021-02-15 07:17:16 +08:00
Meco Man
c4d11f52dd
update
2021-02-14 18:47:48 +08:00
Meco Man
bb35f07bf2
implement _sys_tmpnam()
2021-02-14 18:46:55 +08:00
Bernard Xiong
bfde38030b
Merge pull request #4334 from mysterywolf/exit
...
[libc][exit][abort] 重新实现exit和abort函数
2021-02-13 23:20:21 +08:00
LeeChunHei
b51c6339f0
finish testing
2021-02-13 18:50:58 +08:00
LeeChunHei
fa5c8e1502
modifly to use multi usb(not tested)
2021-02-13 18:50:47 +08:00
LeeChunHei
75a4efc406
Add pulse encoder and usb host to imxrt (not tested)
2021-02-13 18:50:37 +08:00
Meco Man
652d98bca6
update dlibc syscalls.c
2021-02-13 15:16:53 +08:00
Meco Man
2530a5a272
[dlib]remove syscalls.h and add syscalls.c to implement exit() and abort()
2021-02-13 15:14:07 +08:00
Meco Man
f1fa47611f
update
2021-02-13 13:30:40 +08:00
Meco Man
23d4c200c9
add noreturn
2021-02-13 13:23:18 +08:00
Meco Man
b89b3958bc
[libc][exit][abort] 重新实现exit和abort函数
2021-02-13 13:16:17 +08:00
Meco Man
598aa86f75
move clock_time_to_tick to time.c
2021-02-12 20:36:17 +08:00
Bernard Xiong
122a1753d5
Merge pull request #4330 from liruncong/RT_SECTION
...
SECTION改为RT_SECTION
2021-02-12 13:02:31 +08:00
Meco Man
5fc59f88c1
update
2021-02-12 12:14:45 +08:00
Meco Man
ac500f35d6
change RT_USING_PTHREADS to RT_USING_POSIX
2021-02-12 12:08:14 +08:00
Meco Man
e33e7822d7
add <sys/types.h>
2021-02-12 02:58:44 +08:00
Meco Man
fa8e8ed31f
add RTM_EXPORT label for unistd.c
2021-02-12 02:21:30 +08:00
Meco Man
e3a32e807c
update
2021-02-12 02:20:22 +08:00
Meco Man
789f1a8753
move all functions located in <pthread_sleep.c> to this file
2021-02-12 02:12:33 +08:00
Meco Man
417f8b9bed
update
2021-02-12 01:46:16 +08:00
Meco Man
107c27f38d
update
2021-02-12 01:40:45 +08:00
Meco Man
291fe36139
[pthread][libc] move 'clock_time' to libc
2021-02-12 01:30:41 +08:00
Bernard Xiong
a4dd106d49
Merge pull request #4316 from mysterywolf/gettimeofday
...
[libc][time] 修复多处bug;增加time相关函数
2021-02-11 23:37:25 +08:00
Bernard Xiong
ff9ef1a527
Merge pull request #4331 from mysterywolf/syscall
...
[libc][newlib]remove _gettimeofday_r() and _times_r()
2021-02-11 22:37:26 +08:00
Meco Man
ce4fabe158
add errno
2021-02-11 20:48:30 +08:00
Meco Man
dbe1a9c2dc
移除无用的代码
2021-02-11 16:29:14 +08:00
Meco Man
dd147925e5
fix time() return value
2021-02-11 13:41:24 +08:00
Meco Man
e904f9bf27
update common
2021-02-11 03:03:59 +08:00
Meco Man
b4c8cb1445
remove declare
2021-02-11 03:02:32 +08:00
Meco Man
a400991ee9
remove _gettimeofday_r() and _times_r()
2021-02-11 02:58:19 +08:00
Meco Man
e3fee1ca77
2 spaces -> 4 spaces
2021-02-11 02:46:23 +08:00
Meco Man
d67d4d3fd0
add difftime()
2021-02-11 02:34:38 +08:00
Meco Man
51cb109cf8
fix bug #3183 - align days[] and months[] to 4 bytes
2021-02-11 02:33:45 +08:00
Meco Man
5e5ceabfdc
add ctime_r() and re-implement ctime()
2021-02-11 02:32:47 +08:00
Meco Man
072dbe57c6
format & add clear tm_isdst
2021-02-11 02:31:53 +08:00
Meco Man
66e2a9424b
update
2021-02-10 21:01:16 +08:00
liruncong
0208fc5546
[components]SECTION=>RT_SECTION(与catch2中SECTION冲突)
2021-02-09 23:25:46 +08:00
Meco Man
39ff4b5a97
修改时区计算公式的错误
2021-02-08 11:37:24 +08:00
Meco Man
2645aec2e3
删除没有用的预编译,在新版的IAR中此已经不需要了
...
对time函数增加RT_WEAK
2021-02-08 11:30:49 +08:00
Meco Man
3e9c77efd5
优化IAR
2021-02-08 10:55:08 +08:00
Meco Man
9b428e519f
avoid warning
2021-02-08 10:42:50 +08:00
Meco Man
d0c2631b12
revert time()
2021-02-08 10:33:12 +08:00
Bernard Xiong
9345ebfa12
Merge pull request #4310 from mysterywolf/pin
...
[bug][pin] 修复错误码没有为负的错误
2021-02-08 09:09:05 +08:00
Meco Man
6c7dd30532
add function settimeofday & stime
2021-02-08 00:56:31 +08:00
Meco Man
4c6962436a
update
2021-02-07 22:33:37 +08:00
Meco Man
d92f8a53da
update
2021-02-07 22:25:30 +08:00
Meco Man
0d30632de6
fix #3976
2021-02-07 22:09:22 +08:00
Meco Man
86ebf17a23
localtim改为gmtime
2021-02-07 21:49:25 +08:00
Meco Man
f073911cd3
解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数
2021-02-07 21:08:41 +08:00
tangyuxin
83692a54c4
【workqueue】添加函数声明
...
rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue);
2021-02-07 11:14:59 +08:00
tangyuxin
a96156faf1
[workqueue] 提交正在执行的工作,返回 BUSY
2021-02-07 10:30:25 +08:00
tangyuxin
83dca09e1c
[workqueue] 修复提交工作后立即取消,获取无效工作任务的问题
...
当高优先级任务提交工作后,立即取消。此时队列被唤醒,下面紧接着获取链表中第一个任务。但此时已经是空链表了。
每次线程被唤醒。检查当前任务链表是否未空
2021-02-06 21:54:25 +08:00
tangyuxin
7eabe5c9e9
[workqueue] 取消正在执行的工作返回BUSY
2021-02-06 20:39:52 +08:00
tangyuxin
3ef3fb50af
[workqueue] 队列销毁时取消所有工作并释放内核对象
2021-02-06 20:15:50 +08:00
tangyuxin
d6b44ca52e
[workqueue] 支持取消延时工作任务
2021-02-06 20:08:31 +08:00
Meco Man
23304a77d9
[bug][pin] 修复错误码没有为负的错误
2021-02-06 02:27:18 +08:00
Bernard Xiong
9787116870
Merge pull request #4272 from iysheng/master
...
[bsp][gd32103c-eval] Add hwtimer driver and modify adc driver with LOG_x function
2021-02-06 00:15:41 +08:00
Bernard Xiong
7fc236dddb
Merge pull request #4306 from mysterywolf/rtc
...
[libc][stm32-driver RTC] 修复RTC驱动以及libc time.c库若干问题
2021-02-05 20:23:24 +08:00
Meco Man
ffd270acef
fix comment
2021-02-05 18:55:39 +08:00
wanghaijing
f62d8938dc
[sdio] free memory and enhance performance
2021-02-05 15:49:30 +08:00
Meco Man
c2fca3dffe
修复RTC驱动以及libc time.c库若干问题
2021-02-05 13:13:22 +08:00
iysheng
a281ee9874
code format
2021-02-05 11:46:44 +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
tangyuxin
0230d32ca0
添加断言及注释
2021-02-01 15:02:22 +08:00
tangyuxin
b42506fb73
优化功能重复的代码
2021-02-01 15:02:21 +08:00
tangyuxin
c5218b5eee
修复紧急工作队列插入问题
...
紧急工作仍插入队列尾部,先将其插入队列头部
2021-02-01 15:02:20 +08:00
tangyuxin
5b52e6c7e3
修复同步取消锁中断等信号的问题
2021-02-01 15:02:19 +08:00
tangyuxin
5a16a2060e
定时处理函数临界区保护更加完整
...
定时器回调函数中,添加工作之前打开了中断。此时在极端情况下,会导致状态不对。
2021-02-01 15:02:18 +08:00
tangyuxin
10b5aa8f59
合并 cancel 和 cancel_delayed 函数,优化代码体积
...
合并 _workqueue_cancel_work 和 _workqueue_cancel_delayed_work 函数,优化代码体积
2021-02-01 15:02:17 +08:00
tangyuxin
0c87becb3e
合并 submit 和 submit_delayed,优化代码体积
...
将 _workqueue_submit_delayed_work 和 _workqueue_submit_work 函数合并成一个。优化代码体积
2021-02-01 15:02:16 +08:00
chenyong
cddf947863
[utilities][ulog] Add LOG_RAW ringbuffer to fix printing line limit issue
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-02-01 11:22:05 +08:00
Bernard Xiong
c4d16d706e
Merge pull request #4243 from zhouji92/master
...
[fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。
2021-01-29 14:21:33 +08:00