Meco Man
c8c632512a
[libc][syscall]移除libc_stdio_read/write函数,优化syscall
2021-09-21 12:51:26 -04:00
Meco Man
d6b60300a5
[.ignore_format] 将ignore_format分散到各个文件夹中,不必集中在根目录下
2021-09-20 15:46:53 -04:00
Meco Man
71f48266ff
[libc][time] 修复数据类型报警
2021-09-18 16:46:53 -04:00
liukangcc
b51602b1db
[update] Add a blank line at the end
2021-09-18 09:57:35 +08:00
liukangcc
c447018c40
Merge remote-tracking branch 'remotes/rtt_github/master'
2021-09-17 15:12:52 +08:00
liukangcc
4b3df6010f
Merge remote-tracking branch 'remotes/rtt_github/master'
2021-09-17 15:03:14 +08:00
liukangcc
f07507a913
[update] Conflicting files
2021-09-17 14:58:15 +08:00
liukangcc
a3541b2a24
[update] support armclang and c++11.
2021-09-16 09:51:33 +08:00
Meco Man
9f55c88ddd
刷新龙芯工程
2021-09-15 11:50:53 -04:00
Meco Man
5c058b624f
[libc] 增加sys/select.h到partical/ls1
2021-09-15 11:12:21 -04:00
liukangcc
2adfbcaeca
[update] enable asctime_r function parameter legal.
2021-09-15 14:19:26 +08:00
Meco Man
a3dfdadb78
增加parical/ls1文件夹readme
2021-09-14 23:02:17 -04:00
Meco Man
42e61f7a63
[libc]解决龙芯内置工具链没有sys/select.h的问题
2021-09-14 22:46:06 -04:00
Meco Man
aa8a493c3c
move select.h to none-gcc
2021-09-14 20:49:44 -04:00
Meco Jianting Man
f1088e77d1
Merge branch 'RT-Thread:master' into select
2021-09-14 18:11:44 -05:00
Meco Man
dc5ee9ade7
[libc标准化] 将dfs_select.h功能转移到sys/select.h
2021-09-13 13:08:03 -04:00
Meco Man
e91ffdd1a0
[libc] fix the conflict warning of read and write functions
2021-09-13 11:39:04 -04:00
guo
160d448660
Merge pull request #5051 from mysterywolf/be_libc
...
[libc标准化] 使用标准poll.h代替dfs_poll.h
2021-09-13 10:45:09 +08:00
Bernard Xiong
38baf89da4
Merge pull request #5053 from mysterywolf/posix
...
[libc标准化] 将dfs_posix.h的函数声明转移到unix标准头文件中
2021-09-13 08:11:26 +08:00
Meco Man
c48445a5f7
[标准化libc] fix CI warning
2021-09-11 18:33:46 -04:00
Meco Man
2c525ecd43
将dfs_posix.h的函数声明转移到unix标准头文件中
2021-09-11 15:42:37 -04:00
Meco Man
b35fffd659
[remove rtlibc]修复缺失的头文件导致的报错
2021-09-11 14:43:09 -04:00
Meco Man
c360688714
使用poll.h代替dfs_poll.h
2021-09-11 11:56:54 -04:00
Meco Man
92c62a8fab
标准化<poll.h> 弱化<dfs_poll.h>
2021-09-11 11:25:43 -04:00
Meco Man
b5c31a9878
[libc] 修复keil编译不过的问题
2021-09-11 08:45:06 -04:00
Bernard Xiong
f8a991d092
Merge pull request #5036 from mysterywolf/serial
...
[serial] 优化RT_USING_POSIX_TERMIOS预编译
2021-09-11 20:03:15 +08:00
Bernard Xiong
4423b487c5
Merge pull request #5044 from BernardXiong/libc_pr
...
[libc] remove rtlibc
2021-09-11 20:00:39 +08:00
BernardXiong
51e0559631
[utest] fix libc issue
2021-09-11 18:34:13 +08:00
BernardXiong
0b13409c16
[BSP] fix compiling issue with libc
2021-09-11 18:09:22 +08:00
BernardXiong
3dc820b371
[drivers] fix stdint issue in cputime
2021-09-11 16:00:00 +08:00
BernardXiong
a25dbad37f
[libdl] fix formatting issue
2021-09-11 15:58:18 +08:00
Grissiom
1ebf7b5196
[Netif] Fix the eth_tx_msg protection
...
The ethernetif use semaphore netif->tx_ack to protect the local variable
`struct eth_tx_msg msg` in function `ethernetif_linkoutput`. But the
function could be called in multiple context: LwIP "tcpip" thread, "erx"
thread(on linkup) and any user thread that call `udp_sendto`. So the
global semaphore protection is not sufficient. It could only wakeup the
top priority waiting thread instead of the thread that owns the `msg`
and may result the `msg` next in the mailbox got destructed.
So to use a `rt_completion` within the `struct eth_tx_msg` and
synchronize on that. This could deal the ownership issue in an easy way.
2021-09-11 13:11:57 +08:00
Bernard Xiong
8da9f78d72
[libc] remove rtlibc
2021-09-11 11:07:51 +08:00
Bernard Xiong
7c526cea93
Merge pull request #5019 from Jackistang/master
...
serial: add CTS/RTS flowcontrol.
2021-09-11 08:48:42 +08:00
Meco Man
c1c63fc10c
[serial] 优化RT_USING_POSIX_TERMIOS预编译
2021-09-09 22:41:54 -04:00
shishirong
ab86b7490d
fix Macro definition syntax error in ulog.c
2021-09-09 17:02:21 +08:00
Bernard Xiong
5595df0b8b
Merge pull request #5016 from mysterywolf/finsh
...
[msh] add comments
2021-09-07 20:25:26 +08:00
Meco Man
e4a404c3ef
[msh] add comments
2021-09-07 08:11:51 -04:00
Jackistang
fca9207517
serial: add CTS/RTS flowcontrol.
2021-09-06 13:27:40 +08:00
Meco Man
099dc437ea
[finsh] 恢复FINSH_USING_MSH定义以保持兼容性
2021-09-05 14:03:33 -04:00
guo
877bb072cf
Merge pull request #5014 from mysterywolf/finsh
...
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
2021-09-05 19:49:43 +08:00
Meco Man
e18d44940f
[finsh] 修复由于移除finsh导致__cmd_xxx命令无法使用的问题
2021-09-05 01:57:26 -04:00
guo
233b90a3ee
Merge pull request #4998 from loogg/mlw
...
修复 ringblk_buf 在不使用动态内存时报错的问题以及 AT 组件优化
2021-09-04 18:11:30 +08:00
malongwei
f1e1b6b2e3
fix at_client.c
2021-09-03 20:16:35 +08:00
WillianChan
e53ae3ddfa
[modify][components][utilities]check if the ve_exporter_num is out of bounds.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 20:03:22 +08:00
WillianChan
4b2913a898
[modify][components][utilities]add qemu-a9 section information for var export and fix some problems.
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-09-02 18:06:38 +08:00
Bernard Xiong
c89e7e43ed
Merge pull request #4976 from mysterywolf/finsh_kconfig
...
[finsh] finsh组件可以选择是否包含内置命令
2021-09-02 10:03:03 +08:00
Bernard Xiong
ee2881fe7e
Merge pull request #4991 from mysterywolf/libc_dirent.h
...
[rtlibc] remove libc_dirent.h
2021-09-02 09:55:16 +08:00
Meco Man
dd9db58a86
优化dfs.h和dirent.h的包含关系
2021-09-01 09:28:16 -04:00
malongwei
c229d8b2b5
fix at_client.c
2021-09-01 21:19:22 +08:00
malongwei
5fb6cb8b41
修复ringblk_buf在不使用动态内存时报错的问题
2021-09-01 19:58:23 +08:00
WillianChan
a3ef89071b
[modify][components][utilities]modify error code
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2021-08-31 17:32:34 +08:00
WillianChan
5a020de4e8
[modify][components][utilities]Modify the gcc section definition of a Var Export component
2021-08-31 17:23:48 +08:00
WillianChan
9f543f7065
[add][components][utilities]Add the Var Export component
...
Signed-off-by: WillianChan <willianchan_lovelife@foxmail.com>
2021-08-31 17:23:48 +08:00
guo
553b57e3a9
Merge pull request #4897 from ImFovery/master
...
Update sockets.c
2021-08-31 16:15:44 +08:00
Meco Man
aab382c32e
[rtlibc] remove libc_dirent.h
2021-08-30 22:39:14 -04:00
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