Commit Graph

5077 Commits

Author SHA1 Message Date
GuEe-GUI
62e1fe3699 [Drivers/phy] Fixup header include for v2
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 16:05:37 +08:00
GuEe-GUI
798c84647c [DM/I2C] Update I2C for DM
1. Add get id match data API.
2. Set I2C device name default before adding to bus.
3. Add Kconfig import for DM.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 16:00:13 +08:00
GuEe-GUI
e5db582cfa [DM/MISC] Update MISC API
1. Fixup RT_DIV_ROUND_DOWN_ULL and RT_DIV_ROUND_UP_ULL, rt_do_div.
2. Support RT_DIV_ROUND_CLOSEST_ULL.
3. Make new DIV API.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 15:59:52 +08:00
GuEe-GUI
1e82368778 [DM/CAN] Update CAN for DM
1. Kconfig import wtih DM
2. Add DM API for Drivers

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 15:55:33 +08:00
GuEe-GUI
4337d7fb30 [DM/PCI] Fixup the C99, 6.8.1 Labeled statements p4
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 15:53:55 +08:00
GuEe-GUI
2ffa4f3d60 [DFS] Support 9PFS
What is 9PFS (https://en.wikipedia.org/wiki/9P_(protocol)):
9P (or the Plan 9 Filesystem Protocol or Styx) is a network protocol developed for the Plan 9 from Bell Labs distributed operating system as the means of connecting the components of a Plan 9 system. Files are key objects in Plan 9. They represent windows, network connections, processes, and almost anything else available in the operating system.

rt-thread could share filesystem in VM mode with 9pfs such as QEMU...

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-04 15:48:28 +08:00
GUI
7836d26d39 [MM] Update MM System (#10989)
* [MM] Fixup MM

1. Fixup some LOG_D args.
2. Stop installing page when `rt_aspace_map_phy` fail.

* [MM] Support page MPR dynamic size

For RISC-V or dynamic address space arch in the future.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-03 21:49:52 +08:00
GUI
e5e0ad29bf [DM/DMA] Update DMA #10987
* Append WT attribute.
* Change the API with pool size only.
* Add address mask for DMA
* Change DMA lock to mutex
* Add pause callback for DMA engine driver
* Add DMA Engine test
* Add ARM PL330 DMA Engine driver
2025-12-03 21:47:49 +08:00
GuEe-GUI
d79475e02c [DM][SPI] Support SFUD for DM
DM need > c99

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-02 21:37:42 +08:00
GuEe-GUI
9b02fdc30a [Driver][SPI] Add 'W25Q128JWPIM' for SFUD
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-02 21:37:42 +08:00
GuEe-GUI
33d9c50efb [DM][REGULATOR] Support operator delay
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-02 21:36:58 +08:00
GuEe-GUI
7ebc10a688 [DM][REGULATOR] Fixup regulator find error
Just not regulator really, user can work ok, so remove the error no.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-02 21:36:58 +08:00
GuEe-GUI
39a52cdad2 [LIBC/AIO] Set the AIO work stack size default.
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-12-02 09:50:52 +08:00
wdfk-prog
75d6c1cec5 fix(finsh): Fix crash in 'tail' command with insufficient '-n' arguments 2025-11-30 12:58:51 +08:00
Chuan
2fcdd86dbc docs(utest):Add standardized documentation for IPC Completion Test
Signed-off-by: ChuanN-sudo <fjchuanil@gmail.com>
2025-11-26 22:53:01 +08:00
Chuan
7983d97738 docs(utest):Add standardized documentation for IPC Workqueue Test
Signed-off-by: ChuanN-sudo <fjchuanil@gmail.com>
2025-11-26 22:53:01 +08:00
Chuan
604d123186 [utest][serial bypass]:Add standardized documentation for Serial Bypass Test 2025-11-26 22:52:39 +08:00
Chuan
5423d43e25 [utest][audio]:Add standardized documentation for Audio Test 2025-11-26 19:21:19 +08:00
dongly
583d7f47c7 [soft_rtc]修正GET_TIMESPEC/GET_TIMEVAL 获取 ns/us 的错误; 优化soft_rtc实现 2025-11-25 09:44:07 +08:00
liuyucai
29fb860ad4 finsh: replace str/mem functions with rt-prefixed versions
Replace standard string and memory functions with RT-Thread's rt-prefixed
equivalents where available:

- strcpy -> rt_strcpy
- strncpy -> rt_strncpy
- strcmp -> rt_strcmp
- strncmp -> rt_strncmp
- strlen -> rt_strlen
- strstr -> rt_strstr
- memcpy -> rt_memcpy
- memcmp -> rt_memcmp

Functions like strcat, strchr remain unchanged as RT-Thread does not provide
rt-prefixed versions.
2025-11-22 09:31:37 +08:00
蒙蒙plus
6ab057be41 🐞 fix(at_socket):修复socket 在开启server下的connect连接
修复accept在错误执行过程中返回无效socket问题
2025-11-21 17:23:54 +08:00
wdfk-prog
e1f609fe3a feat(ulog): Add a one-time warning when the log line buffer is insufficient 2025-11-18 09:55:37 +08:00
Copilot
30e1e5e9dc Reorganize Group names in build system for clarity and IDE integration #10923 2025-11-16 11:40:53 +08:00
Chuan
ee20484759 docs(utest):Add standardized documentation for Drivers Core Test
Signed-off-by: ChuanN-sudo <fjchuanil@gmail.com>
2025-11-16 10:28:46 +08:00
ibvqeibob
4e41e700f0 doxygen: add comments for lwp shared memory APIs
Add Doxygen-style comments for the lwp shared memory public APIs
in components/lwp/lwp_shm.c and the related control structure.
This change is documentation-only and does not modify any runtime
behavior or logic.

Signed-off-by: ibvqeibob <2601187225@qq.com>
2025-11-15 14:20:36 +08:00
CYFS
327006cb88 [docs][utest]:Add standardized utest documentation block for serialv2_tc 2025-11-15 14:18:44 +08:00
wdfk-prog
ddfe2cd61c feat[spi]: enable interrupt-safe operations using spinlocks 2025-11-13 15:41:41 +08:00
wdfk-prog
f56875fff5 fix[components]: 修复日志输出的gcc编译警告 2025-11-13 15:16:49 +08:00
rcitach
9150317539 Fixed PWM assertion error caused by using DM 2025-11-13 11:11:59 +08:00
Yonggang Luo
a81023b88d [components/ktime]: Remove unused rt_ktime_cputimer_getstep
Can use rt_ktime_cputimer_getfrq() / RT_TICK_PER_SECOND instead.
2025-11-12 12:59:29 +08:00
wdfk-prog
44cf90a4ef fix(can): Resolve potential race condition in message transmission
Setting the send status flag `sndchange` after calling the can->ops->sendmsg function
could lead to a race condition if a transmission timeout occurs, resulting in incorrect state handling.
This patch moves the operation of setting the `sndchange` flag to before the call to can->ops->sendmsg.
This ensures that the mailbox's status is correctly marked as "sending" before the hardware begins transmission,
making the driver's state management more robust and reliable, especially in handling exceptions like timeouts.

Additionally, new macros for CAN filter modes have been added in dev_can.h.
2025-11-08 11:52:25 +08:00
ChengyangMa
5b87ac609e [libc][syscall] add detailed function comments for memory management 2025-11-07 20:52:08 -05:00
Liu Changjie
8153fe5fd9 [libc][syscalls] 新手PR任务_增加文件操作相关函数的文档注释 2025-11-07 20:50:13 -05:00
Copilot
c631b39317 [Components] Remove vbus component and realview-a8-vmm libcpu (#10863)
* Initial plan

* Remove vbus component and related code

Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-11-07 17:03:05 +08:00
wdfk-prog
95f7287313 fix:[dfs]ls在文件名太长时打印出来的文件名与大小连接在一起,无法区分 2025-11-07 16:59:23 +08:00
wdfk-prog
4ee00eba9b feat[ulog]: 增加 Kconfig 选项以控制 Finsh/MSH 命令 2025-11-07 11:16:46 +08:00
CYFS
934c8195f4 [serialv2]:Fixed the issue where the serialv2 terminal did not have the enable stream mode 2025-11-07 09:52:55 +08:00
wdfk-prog
55306ad133 fix(finsh): Correct stack usage display format in list_thread command 2025-11-06 19:50:17 +08:00
CYFS
6a9a1df437 [components]:utilize the clang-format-ignore mechanism (#10860) 2025-10-28 15:17:04 +08:00
rbb666
0dd90619c7 cherryusb:Adapt the usbd_kinetis_delay_ms interface in usb_glue_mcx. 2025-10-27 17:31:55 +08:00
rbb666
ab5afb3689 cherryusb:Fixed the issue where the USB device in the cdc_rndis_template example could not enable DHCP. 2025-10-27 17:31:55 +08:00
wdfk-prog
e5556be19f fix:[ulog][backend]filter不应与ULOG_USING_COLOR及ULOG_USING_SYSLOG配置有关 2025-10-27 17:09:09 +08:00
Yuqiang Wang
c8f0a26a5f feat:[sal][utest] added test cases for the sal api (#10720)
* feat:[sal][utest] added test cases for the sal api

* improve[net][utestcase]: standardize script construction

* ci[auto utest run]: standardize naming and add sal testcases

* add sal utest auto run configure and standard Information
2025-10-23 09:56:30 +08:00
Yonggang Luo
d3e0a53203 Remove rt_ktime_hrtimer_getcnt for hrtimer
There is no user of it and also the return type is mismatch
2025-10-21 10:25:41 +08:00
Yuqiang Wang
8816a9dc1b utest/msh: supports autocomplete of utest cases for utest_run (#10701)
* utest/msh: supports autocomplete of utest cases for utest_run

* docs/utest: explanation of adding the automatic completion function for utest_run

* fix[utest]: Improvement of annotation description

* remove outdated code
2025-10-20 12:46:44 +08:00
ligr
1ca86c79fa Fix comment for address_search_head field of lwp structure. 2025-10-20 11:12:57 +08:00
ligr
77844b7b07 Align annotations of struct fields. 2025-10-20 11:12:57 +08:00
ligr
3afefd7fdd fix structure comments according to doxygen spec. 2025-10-20 11:12:57 +08:00
ligr
09721bb7a1 [components/lwp]add doxygen comment for lwp.c with lwp.h. 2025-10-20 11:12:57 +08:00
Chen Wang
c1363c77d6 utest: Improve the strings displayed in the menu
Use "Test" instead of "Unit Testcases" to make string shorter.
Use uppercase to make it look more eye-catching.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-16 18:34:43 +08:00