Commit Graph

4202 Commits

Author SHA1 Message Date
zhkag e65509a58e
[src][components][include]消息队列支持优先级 (#7382) 2023-06-26 00:06:06 -04:00
Bernard Xiong e3f068f058
[DeviceDrivers] prepare for device driver v2.0 (#7697) 2023-06-22 14:16:03 +08:00
xiao xie ba76cb5ef7
[drivers]修复can驱动编译错误 (#7708) 2023-06-21 08:52:11 -04:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
yangfasheng b4e59bac4e
dfs v2 修改 fd_new 的 startfd 起始值为 0 ;修复 futex_wait 超时时间换算异常; (#7705)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-20 23:09:58 +08:00
heyuanjie87 0503d1e27f [libc/termios]修改oflags定义与musl一致 2023-06-19 00:38:36 -04:00
heyuanjie87 a790c809a8 [pty]修正pty引起waitqueue崩溃的问题 2023-06-19 10:56:06 +08:00
Man, Jianting (Meco) 704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698) 2023-06-18 22:36:53 -04:00
zhkag 7d8f485321
[finsh] 添加 RT_Device_Class_Bus 对应的描述字符串 2023-06-16 22:33:03 -04:00
Meco Man 4f5ba63c7c [cpp] attach CXXFLAGS to reduce the resource consumptions 2023-06-14 08:49:33 -04:00
yangjie11 c4df1d6a19 [cpp] support rt-thread CPP wrapper sub-switch macros 2023-06-14 08:49:33 -04:00
yangjie11 d256d742d1 [components][time.h]Fixed undefined macro TIMER_ABSTIME 2023-06-14 06:31:10 -04:00
Mingjie Shen c7ad493b9a [libc][ctime] move null pointer check before dereference
This null check was redundant because the pointer timep was
dereferenced in any case.
2023-06-13 18:29:22 -04:00
Mingjie Shen 6198eea6c7 [msh] fix offset used before range check
These uses of offset 'cmd0_size' should follow the range check.
2023-06-13 18:00:32 -04:00
Mingjie Shen 177f3d4056 [adc] remove dead code
The variable result_str is never used after this assignment.
2023-06-13 17:47:54 -04:00
yangfasheng e36b97ff94
[dfs v2] fix dentry hash lookup bug; update dentry dump msh cmd; (#7655)
Signed-off-by: yangfasheng <yangfasheng@live.com>
2023-06-11 18:07:06 +08:00
Bernard Xiong cd3f0f9c8a
Add color ls for executable file. (#7654) 2023-06-11 13:12:40 +08:00
Meco Man 8d6e536e88 [spi] optimize the spi transfer speed.
If the configurations are the same, we don't need to set again.
2023-06-10 18:59:23 -04:00
Bernard Xiong 99e80f8d33
[dfs] Add DFS v2.0 (#7606) 2023-06-10 21:35:25 +08:00
Huang Xilong c33a21509a
[comment][libc] add some comments for functions in posix_signal (#7647) 2023-06-10 00:41:21 -04:00
zhkag 0f998f6b05
[simulator] 模拟器可以使用 utest 测试框架 (#7644)
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-06-10 12:32:34 +08:00
JasonCang d0c6d6f4a4
[at] optimize at_vprintfln
为什么提交这份PR (why to submit this PR)
现在的at指令发送接口,底层会自动添加"\r\n",某些场景需要发送空指令。如ESP32的蓝牙发送数据指令,收到">"后
发数据,等待接收OK。

详细讨论可见:
https://club.rt-thread.org/ask/question/185810c0aed98558.html

你的解决方案是什么 (what is your solution)
判断at指令长度,长度为0,则直接返回
2023-06-09 23:40:37 -04:00
goldengrandpa 1d239db59e
[tty]修复多次scanf之后,导致丢数据的问题 (#7640) 2023-06-09 09:09:50 +08:00
zhkag 22972409d4 [simulator] 修复 linux simulator 编译运行失败 2023-06-07 08:52:28 -04:00
Mengxi-Xu d2308d41d7
[components] [fdt] add parameter check 2023-06-04 13:50:04 -04:00
goldengrandpa e88a19467e
[ctime]解决clock_gettime计算出来的nsec超过1sec的问题 2023-05-31 22:52:33 -04:00
Yohozzy 0cbb665a1c
[components] [lwip]重新提交 : ping超时计算bug (#7545)
函数的输入超时参数的单位是ms, 系统接口无论1.x版本还是2.x, 最终都会将毫秒时间再去转一次tick, 用于rtthread邮件接收超时. 所以此处直接按原值进行转换,不需要加入对RT_TICK_PER_SECOND的转换
2023-05-29 02:02:01 -04:00
guo 7a4f9d0ada
[libc] picolibc support heap. (#7571) 2023-05-27 00:26:34 +08:00
XzcUbuntu b27f910cad [libc][posix][signal] 增加posix_signal.c部分函数注释 2023-05-25 02:09:42 -04:00
geniusgogo 0315c0dee7
add lstat&sysinfo....syscall. (#7555) 2023-05-23 22:43:38 +08:00
zhkag 662aa1b7e2
[libc error] 编译错误PATH_MAX 未定义,移除 mq 中的 PATH_MAX 判断 (#7550) 2023-05-22 22:03:23 -04:00
Meco Man 93968942c2 [device][spi] 修复 rt_spi_sendrecv8/16 收发不同时的问题
rt_spi_send_then_recv是先发再等待一个独立的消息接收
rt_spi_transfer是收发同时进行
rt_spi_sendrecv8/16应使用rt_spi_transfer而不是rt_spi_send_then_recv
2023-05-22 02:55:46 -04:00
Arro d8a42139bf
[components]对POSIX函数中mqueue.c的mq_unlink函数注释 (#7543) 2023-05-22 01:47:01 -04:00
Mengxi-Xu 1e5dc5509e
[libc][cpp] 增加 cxx_crt_init.c 函数注释 (#7535) 2023-05-20 01:27:55 -04:00
shandianchengzi a294d7da9a
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528) 2023-05-18 10:42:44 -04:00
guozhanxin ca873fae30 [add] llvm-arm workflows 2023-05-17 12:09:10 -04:00
guozhanxin 82ccbc40db support llvm-arm 16.0 2023-05-17 12:09:10 -04:00
xiao-mang 065a3e1b3a
[component] add sys_mount and umount2 (#7516) 2023-05-17 16:30:05 +08:00
Wayne a2b7a44070
[components][net][lwip][port] Fix next-hop finding in lwip_ip4_route_src. (#7504)
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-05-17 09:54:47 +08:00
geniusgogo de567b8fb3 fixed dfsv2 openat. 2023-05-16 18:21:24 +08:00
geniusgogo 0e4a3142a8
[component] add openat syscall. (#7488) 2023-05-15 20:40:27 +08:00
7YZ7 a5211c70b6
[components][drivers][HUST CSE]修复serial_v2.c中可能产生的死循环 (#7394) 2023-05-15 14:42:11 +08:00
kunpHust 7a2bccd1c2
[HUST CSE][components][udisk.c] add two checkout procedures after malloc to make sure allocating successfully (#7475) 2023-05-15 14:35:38 +08:00
Shell b7554a70d2
[libcpu][component][debug] add debug info for gdb (#7033) 2023-05-14 23:48:16 +08:00
wenxingpt f2d78e87b5
[component][at] fix(misc): fix null char input issue
fix issue #7005
2023-05-14 00:33:59 -04:00
DylanLiuH2O 92a253c88f
[components][libc][posix] fix RT_NAME_MAX misspelled as NAME_MAX (#7489) 2023-05-14 11:15:36 +08:00
miaoxingr f36a1bb514
[components/drivers] add checking code after allocating memory 2023-05-12 01:39:51 -04:00
hust202013232 9dd0d41251
[components][rndis.c] add safety checking after allocating memory 2023-05-12 01:37:42 -04:00
a1012112796 5e4a95f54d
[components/drivers] add result check for configure in `rt_spi_configure` (#7474)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-12 00:11:28 -04:00
Rain Park c4002dea9f
[doxygen][libc] Add some comments for posix pthread functions (#7467)
Signed-off-by: Rain Park <1162678210@qq.com>
2023-05-10 14:01:33 +08:00