summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
2025-09-26utest: move driver related case under to driversChen Wang
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 <[email protected]>
2025-09-26[components/lwp]add doxygen comment for lwp_dbg.c.ligr
2025-09-26utest: remove RT_UTEST_USING_ALL_CASESChen Wang
Many modules' utests currently don't support enabling all tests at once. Furthermore, some modules' tests are complex, for example due to their numerous dependencies on other modules. This makes it nearly impossible to enable all tests with a single global switch. Consequently, the previously defined `RT_UTEST_USING_ALL_CASES` has lost its original meaning. We recommend deprecating this configuration switch. If a module needs to enable a group of functional tests through its own configuration, this local enable all switch should be implemented by the module itself, and a global RTT enable switch will no longer be provided. If such a requirement arises in the future, we recommend careful design, especially considering how to ensure that turning on a single switch enables all dependencies for all involved modules for ease of use. Signed-off-by: Chen Wang <[email protected]>
2025-09-25[components/lwp]add doxygen comment for lwp avl implementation.ligr
2025-09-25feat[SPI]: Add SPI device detach functionwdfk-prog
2025-09-24[components/lwp]add doxygen comment for lwp_tid.ligr
2025-09-24RT_TIMER_CTRL_SET_TIME only accept rt_tick_t, pass rt_tick_t instead ↵Yonggang Luo
int/rt_int32_t
2025-09-24cast to (rt_tick_t)RT_WAITING_FOREVER for explicitYonggang Luo
2025-09-24_rt_wqueue_wait use rt_tick_tYonggang Luo
2025-09-24Trim trailing spaces of components/libc/posix/io/poll/poll.cYonggang Luo
Signed-off-by: Yonggang Luo <[email protected]>
2025-09-19[components/lwp]add doxygen comment for lwp_pid. #10702Guorui Li
2025-09-18[utest][netdev]add netdev api testcases.Rbb666
2025-09-17[components][finsh] 清理掉无用的拷贝操作 (#10699)蒙蒙plus
清理掉无用的拷贝操作
2025-09-15utest: update naems using new ruleChen Wang
The names of the utest cases defined in their respective modules have been updated. Some utest case names are not yet in their respective modules because their paths need to be finalized before their unique names can be determined. Currently, these names do not appear to conflict with the unified names. These include: - utest cases still in examples - bsp/qemu-virt64-riscv/applications/test/test_vector/test_vector.c. The entire test case should probably be placed in libcpu/risc-v rather than bsp. Signed-off-by: Chen Wang <[email protected]>
2025-09-15[net/netdev]Fixed compilation errors when enabling IPv6 and IPv4 dual-stack ↵Rbb666
support.
2025-09-14[netdev]Fixed netdev_unregister missing correct return value. (#10693)R b b666
2025-09-14[components/lwp]add doxygen comment for lwp_args. (#10696)Guorui Li
2025-09-10[utest][lwip]add lwip api testcase.Rbb666
2025-09-09[fix][ci]Fixed CI compilation failure in sal/src/sal_socket.cRbb666
2025-09-07[DM/NVME] Fixup the QUEUE alloc errorno checkGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-09-07[add][testcases]add filesystem(dfs api & posix api) testcase.Rbb666
2025-09-06feat: Initialize local variables to prevent GCC compilation warningswdfk-prog
2025-09-04fix: ↵wdfk-prog
在没有定义FINSH_USING_SYMTAB时编译报错以及IPC及finsh启用时自动选择必要的功能
2025-09-02utest/utest: intergare testcases into utest framework (#10665)Chen Wang
* utest: move testcases of Utest from example to Utest folder Create unit-test-cases for the Utest framework subsystem according to "How to add utest cases into RT-Thread for your module." [1] Link: https://rt-thread.github.io/rt-thread/page_component_utest.html#autotoc_md804 [1] The original `components/utilities/utest` directory already has unit testcases, which are more comprehensive than the testcases in `examples/utest/testcases/utest/`. Therefore, simply deleted the test cases in `examples` and used the existing testcases in the utest framework. Signed-off-by: Chen Wang <[email protected]> * utest/utest: rename name and add license text Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2025-09-01fix(ioctl): _IOR() overflows in switch (int) #10650Tang Haojin
2025-09-01fix: warnings generated by Kconfig.maosql
2025-08-30[Add][kservice]Add thread usage support.Rbb666
2025-08-26utest: integrate config option for utest of audio driverChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-08-26[DM/THERMAL] Fixup the PWM-FAN remove handle data ptrGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-08-26[DM/THERMAL] Fixup the C99, 6.8.1 Labeled statements p4GuEe-GUI
Append a null statement for "Any statement may be preceded by a prefix that declares an identifier as a label name." Signed-off-by: GuEe-GUI <[email protected]>
2025-08-25[DM/PCI] Add SoC PCI Kconfig importGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-08-25[DM/PCI] Fixup the DWC PCI resource releaseGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-08-25[DM/PCI] Fixup the bus-range probeGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-08-25[DM/PCI] Fixup the MSI info shuold freeGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-08-21[component][net][at] at_client增加deInit接口 (#10598)RyanCW
* [component][net][at] at_client增加deInit接口 * [component][net][at] at_client优化serial_v2适配
2025-08-16[component][drivers][serial_v2] 优化serial_v2 (#10603)RyanCW
* [bsp][stm32][drv_usart_v2] uart_isr不再使用链式调用,RXNE内循环读空,一些细节优化 * [componnents][drivers][serial_v2] 增加获取config接口,使用rt_tick_get_delta替代内部的时间绕回判断,写满丢弃策略rx接收数据错乱修复,clang-tidy和cppcheck审查优化 * [utest][drivers][serial_v2] 测试例程进行优化 * [bsp][stm32][drv_usart_v2] 撤回DMAMUX1修改 * [componnents][drivers][serial_v2] read和write不再返回-RT_ETIMEOUT改为已发送或读取的字节数,细节优化 * [utest][drivers][serial_v2] 增加单独的timeout测试,减少测试中的硬延时 * [utest][drivers][serial_v2] 漏提交的posix下标志位 * [utest][drivers][serial_v2] 优化测试例程 * [bsp][stm32][drv_usart_v2] transmit返回错误值,RXNE增加超时逻辑 * [componnents][drivers][serial_v2] 增加transmit错误处理,增加超时退出机制显式的避免死循环 * [componnents][drivers][serial_v2] 适配serial_v2和posix非libc标准库下的console和shell
2025-08-10[driver][serial] V1]: fix correct data loss logic when RX ring buffer is fullwdfk-prog
In the serial ISR (`rt_hw_serial_isr`), the previous logic for handling a full RX FIFO was flawed. When the buffer was filled, it would increment `get_index` (`get_index += 1`). This had two negative consequences: 1. It effectively discarded the oldest byte of data prematurely. 2. It reduced the usable capacity of a buffer of size N to N-1. For example, a 64-byte buffer could only ever hold 63 readable bytes after becoming full. This patch corrects the behavior by implementing a standard overwriting ring buffer strategy. When the buffer is full, the logic is changed to `get_index = put_index`. This ensures that: - When new data arrives, it correctly overwrites the oldest data. - The `get_index` is advanced along with the `put_index`, correctly marking the new start of the buffer. - The full N-byte capacity of the buffer is utilized, always storing the N most recent bytes. This change resolves the unexpected data loss and makes the buffer behavior correct and predictable.
2025-08-08update(cherryusb): update to v1.5.2sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-08-06[arm_compiler_v4/v5] define rt_packed as __packed #10553cmbjxxiao
2025-08-06[update] <components>:finsh/shell.cliuyucai
添加以下功能(需要kconfig使能FINSH_USING_WORD_OPERATION) 1 ctrl+back 按单词删除 2 ctrl+左右箭头 按单词切换光标 Signed-off-by: Yucai Liu <[email protected]>
2025-08-04[components/dfs]add doxygen comments for dfs sequence file in dfs_v2.ligr
2025-08-04[components/dfs]add doxygen comments for dfs_file.c in dfs_v2.ligr
2025-08-04[components/dfs]add doxygen comments for dfs_file_mmap.c in dfs_v2.ligr
2025-08-04[components/dfs]add and optimize doxygen comments for dfs.c in dfs_v2.ligr
2025-08-04[components/dfs]add doxygen comments for dfs_fs.c in dfs_v2. #10538Guorui Li
2025-08-03[components/dfs]add doxygen comments for dfs pcache file in dfs_v2.ligr
2025-08-01【SMART】【BSP】【allwinner】Fix smart serial_v2 bypass compile error ↵rcitach
issue (#10524) * Modify the reference path of the header file in the middle section * format * Fix smart serial_v2 bypass compile error issue * add allwinner/d1s ci
2025-07-31[bugfix][component/dfs] fix bugs for function _get_parent_path(). (#10539)Guorui Li
* [bugfix][component/dfs]1.Skip the trailing slash character failed. 2. Scenario that parent path is root is not considered. * replace strdup() by rt_strdup(). * free memory after strdup(). * fix issue of not appending '\0' at end when parent path is root.
2025-07-30[components/dfs]add doxygen comments for dfs_dentry.c in dfs_v2. (#10561)Guorui Li
2025-07-30[components/dfs]add doxygen comments for dfs_vnode.c in dfs_v2. (#10563)Guorui Li