5055 Commits

Author SHA1 Message Date
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
rcitach
f05b854ab8 Update SECURITY_UNKNOWN value in dev_wlan.h
Changed SECURITY_UNKNOWN value to 0xffffffff for clarity.
2025-10-16 14:44:30 +08:00
Chen Wang
e8d3d0fca4 utest: move cpp from examples to components/libc/cplusplus
Also update the case names to compatible with naming rules.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 15:28:58 +08:00
Chen Wang
9ca37156f5 utest: UTEST_MM_API_TC -> RT_UTEST_MM_API
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang
df4fdc0087 utest: UTEST_SELF_PASS_TC -> RT_UTEST_SELF_PASS
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang
c2f041640d utest: UTEST_SERIAL_POSIX_TC -> RT_UTEST_SERIAL_POSIX
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang
3e7fd6b437 utest: UTEST_SERIAL_QEMU_TC -> RT_UTEST_SERIAL_QEMU
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang
2881803dec utest: UTEST_SERIAL_TC -> RT_UTEST_SERIAL_V2
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang
066689bd2f utest: UTEST_SERIAL_BYPASS -> RT_UTEST_SERIAL_BYPASS
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Yonggang Luo
517e5b132b compute ns with rt_int64_t instead of int64_t in ctime.c 2025-10-13 21:44:01 +08:00
loremmoqi
17a796af24 fix(stdio): ensure compatibility with newlib <3.4.0 by handling removed __sdidinit (#10791) 2025-10-13 11:45:22 +08:00
Chen Wang
d14daa6cb1 utest: ipc: move from examples to components/drivers/ipc
Also:
- Add "RT_" prefix for utest config options.
- Rename the case names to following the naming rule.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-13 10:44:16 +08:00
Chen Wang
66448d9e96 utest: smp_call: move from example to components/drivers/smp_call
Also,
- Rename UTEST_SMP_CALL_FUNC to RT_UTEST_SMP_CALL_FUNC.
- Add depends on RT_USING_SMP in Kconfig for RT_UTEST_SMP_CALL_FUNC
- Follow the naming rules of utest case to update the cases' name.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-11 16:20:38 +08:00
Chen Wang
5b99f61af8 utest: serial: update case names
Follow the naming rules of utest-cases.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-11 15:38:45 +08:00
Chen Wang
3b97667323 utest: serial: move from examples to components/drivers/serial
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-11 15:38:45 +08:00
Chen Wang
273185b45a doxygen: fix two issues when building with doxygen 1.9.8 (#10768)
* doxygen: remove @return command if function return void

When doxygen is upgraded to v1.9.8 (on ubuntu 24.04), doxygen
reports: "doxygen error: found documented return type for xxx
that does not return anything" for those functions which return
void but declare "@return" in doxygen comment.

Solution: remove "@return" for those cases, and update
guide document for how to write doxgen comment for functions.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

* doxygen: fixed a minor typo for uart doc

This error is found when building with doxygen 1.9.8, but not
detecetd on 1.9.1.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-10 10:05:06 +08:00
Guorui Li
1aef0dba71 [components/lwp]add doxygen comment for lwp futex. (#10763) 2025-10-04 10:02:21 +08:00
Yuqiang Wang
2e45b9b340 format: format sal socket code 2025-10-04 09:03:25 +08:00
Yuqiang Wang
326e65f6ed feat:[sal][utest] added test cases for the sal api 2025-10-04 09:03:25 +08:00
Chen Wang
ace7fdbff3 doxygen: fixed build warning for RT_CAN_FILTER_ITEM_INIT (#10758)
The names and number of macro parameters in doxygen comments
must match the actual macro definition; otherwise, a warning
will be generated.

Our goal is to eliminate all warnings.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-28 19:47:45 +08:00
蒙蒙plus
98340c1aab [Feature][Shell] 增加对 Home、Insert、Delete 和 End 键的支持,改进输入模式处理 (#10595) 2025-09-28 16:27:20 +08:00
wdfk-prog
11156de0de feat[can]: Implement non-blocking send mechanism and enhance CAN driver functionality
- Added support for non-blocking mode CAN message sending, including software ring buffer management and dynamic memory allocation options.
- Improved related comments and error handling.
- Updated example code to demonstrate the usage of both blocking and non-blocking sending modes, and corrected some structure field naming and macro definitions.
2025-09-28 11:17:21 +08:00
Chen Wang
01e015450f utest: move driver related case under to drivers
src/utest/device_tc.c is testing API: rt_device_find(),
which is a function defined in components/drivers/core/device.c.
So it should be a testcase for drivers core, not for core.

Move it to under components/drivers/core.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-26 16:53:44 +08:00