summaryrefslogtreecommitdiff
path: root/components
AgeCommit message (Collapse)Author
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
2025-07-30[components/dfs]add doxygen comments for dfs_mnt.c in dfs_v2.ligr
2025-07-29[Fix] <components>:drivers/can/dev_can.c ↵liuyucai
修复CAN底层无法工作时导致调用 _can_int_tx 的线程一直挂起的问题 Solution: 使用 can->status.sndchange 的bit位来表示某个发送邮箱超时 如果超时 底层驱动再通知tx_done或者tx_fail事件时不予处理 Signed-off-by: Yucai Liu <[email protected]>
2025-07-25[pthreads] Fix pthread_cond_timedwait lacks timeout wakeupChenRuiwei
2025-07-24[drivers][serial_v2] 修复dma下rx_flush的bugryancw
2025-07-24[components/libc] add comments for some pthread functions. #10423Codeman-1999
2025-07-23[lwp][rv64] riscv: fix potential signal handler infinite loopYulong Wang
2025-07-23[lwp][rv64] restore tp register in arch_thread_signal_enter to fix user-mode ↵Yulong Wang
memory access
2025-07-22doxygen: fix duplicated defgroup for clockChen Wang
Problen: Duplicated definition of group_clk in clk.c and clk.h. Solution: Delete the definition in clk.c and keep only the definition in clk.h. Also change the name of group_clk to group_driver_clock to conform to the naming convention of other driver groups. Signed-off-by: Chen Wang <[email protected]>
2025-07-22doxygen: group name all in lowcase (part 2) (#10530)Chen Wang
* doxygen: fs: unify groupname to lowercase Signed-off-by: Chen Wang <[email protected]> * doxygen: drivers: unify groupname to lowercase Signed-off-by: Chen Wang <[email protected]> * doxygen: signal: unify groupname to lowercase Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2025-07-20[Fix] <components>:finsh/shell.c F: char rt_hw_console_getchar(void) (#10345)ricky
[Fix] <components>:finsh/shell.c When using char rt_hw_console_getchar(void), some compilers may default to returning 255 instead of the expected -1, causing the condition if(ch < 0) at F: shell.c L:519 to fail and enter an erroneous loop. Solution: Use the signed char type return value as rt_hw_console_getchar Signed-off-by: Yucai Liu <[email protected]>
2025-07-17fix #4286,fifx memory leak when sal_socket failedjianbaoshan
2025-07-15update(cherryusb): update to v1.5.1sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-14修复DFS_USING_POSIX启用时 修正IARVersion导入路径蒙蒙plus
2025-07-12[serial_v2]modify the default configuration of the RT_SERIAL_CONFIG_DEFAULT ↵wdfk-prog
structure to support parameters in the absence of DMA configuration.
2025-07-12[DM/PIC] Fixup the interrput info list formatGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-07-12[DM/PIC] Config IPI by RT_MAX_IPIGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-07-12[DM/PIC] Import DM KconfigGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-07-10[WDT] Intel 6300ESB Timer/WatchdogGuEe-GUI
Used for QEMU on PCI Signed-off-by: GuEe-GUI <[email protected]>
2025-07-10[WDT] Add Synopsys DesignWare watchdogGuEe-GUI
This device is commonly used in SoCs. Signed-off-by: GuEe-GUI <[email protected]>
2025-07-10[WDT] Update for DM buildGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-07-10[SPI]Update and fixup the SPIGUI
* Make a priv data read API for probed SPI device * Fixup the SPI device pre-alloc