summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
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
2025-07-08update(cherryusb): update framework and bugfixsakumisu
* update cdc_acm device framework * add host serial device framework * fix dfs read write return type * fix webusb desc len * fix dwc2 h7rs gccfg Signed-off-by: sakumisu <[email protected]>
2025-06-20update(cherryusb): update to v1.5.0 (#10409)sakumisu
2025-06-10components: drivers: adc: fixed cppcheck errorChen Wang
[cpp_check.py 80 INFO] components/drivers/misc/adc.c:76:12: error: Uninitialized variable: result [legacyUninitvar] return result; ^ Signed-off-by: Chen Wang <[email protected]>
2025-06-10componnets: drivers: adc: remove build warningsChen Wang
gcc build warnings: cast from pointer to integer of different size [-Wpointer-to-int-cast] For rt_adc_ops.enabled, the type of second param is rt_int8_t, original _adc_control also called with wrong type casting. Convert first to rt_base_t, then cast to rt_int8_t to remove the build warnings. Signed-off-by: Chen Wang <[email protected]>
2025-06-09components: drivers: rtc: add the alarm using local time for calculationRuncheng Lu
- add the alarm using local time for calculation Signed-off-by: Runcheng Lu <[email protected]>
2025-05-29doxygen: change group_Drivers to group_device_driverChen Wang
The originally defined "group_Drivers" should actually be part of the device-driver component, so "group_Drivers" is renamed to "group_device_driver". In this way, the original "group_Device" and "group_Drivers" are merged into "group_device_driver". Adjusted the writing method of doxygen comments in the driver code to be unified as follows: ```c * @defgroup group_XXX XXX * @brief xxxxxx * @ingroup group_device_driver ``` Signed-off-by: Chen Wang <[email protected]>
2025-05-23[DM/PCI] Add /proc access in RT-Smart user.GuEe-GUI
1. Add ROM base info. 2. Save th PM status. Signed-off-by: GuEe-GUI <[email protected]>
2025-05-22[components][serial_v2] ↵ryancw
写满丢弃策略对dma_ping_buf的处理有误、细节调整
2025-05-20[dfs] enable procfs and tempfs in default when using smart; fix LWIP_ROUTE ↵Bernard Xiong
warning issue.
2025-05-18components: drivers: audio: Add audio driver test framework1078249029
Achieve driver framework by operating memory to simulate audio peripheral drivers. And it could be as a draft standrad for other drivers test framework. Signed-off-by: 1078249029 <[email protected]>
2025-05-16[drivers][serial_v2]允许阻塞接收超过rx缓冲区大小的数据、增 ↵ryancw
加超时时间、flush、获取缓冲区数据长度命令、数据溢出逻辑修复、稳定性细节优化、添加更多serial_v2测试用例 [components][serial_v2] 优化txflush逻辑、对tx的activated做中断保护 [components][at] at_client适配新版serial_v2 [components][at] at_server适配新版serial_v2 [components][serial_v2] 测试用例增加循环调用,format测试用例 [components][serial_v2] poll模式判断逻辑错误 [components][serial_v2] 测试用例去掉一些非必要延时 [components][serial_v2] 测试例程使用menuconfig进行配置,更新readme [components][at_client] at_client_getchar返回值错误、at_client解析线程优先级错误设置 [components][at] 错误码应该返回负值 [components][serial_v2] TCFLSH和FIONREAD完善、control函数增加错误返回值 [components][serial_v2] RT_SERIAL_CTRL_GET_RX_DATA_LEN更改为RT_SERIAL_CTRL_GET_UNREAD_BYTES_COUNT [utest][serial_v2] TC_UART_SEND_TIMES替换为RT_SERIAL_TC_SEND_ITERATIONS [components][serial_v2] FIONREAD参数应该是无符号类型 [utest][serial_v2] 完善测试用例 [components][serial_v2] 避免使用三目运算符 [components][serial_v2] 使用clang-format格式化代码 [components][serial_v2] 添加get超时时间命令 [components][serial_v2] 完善posix接口 [components][serial_v2] 阻塞接口添加阻塞时间为0时的处理逻辑、优化RX阻塞接收逻辑 [components][serial_v2] 设置超时时间命令的参数改为指针形式 [components][serial_v2] nbuf发送添加超时时间为0时的逻辑 [components][serial_v2] 完善添加测试用例 [utest][serial_v2] 修复依赖关系 [components][serial_v2] 非阻塞模式下tx_flush错误修复 [components][serial_v2] activated使用原子API [components][serial_v2] 优化DMA逻辑、没使能DMA时屏蔽DMA逻辑节约资源 [components][serial_v2] 提供写满时丢弃新数据和覆盖旧数据策略,写满丢弃策略效率更高 [components][serial_v2] 部分平台适配写满时两种策略功能 [components][serial_v2] DMA模式暂不支持丢弃新数据策略 [utest][serial_v2] 优化测试代码 [components][serial_v2] DMA模式下使用乒乓缓冲、DMA模式支持丢弃新数据策略 [utest][serial_v2] 适配DMA乒乓缓冲 [bsp][serial_v2] 部分bsp适配DMA下乒乓缓冲 [components][serial_v2] 使用spinlock替换中断,对部分结构体变量使用原子操作 [utest][serial_v2] 更新测试用例 [components][at] 适配new serialv2不再判断RTT版本号 [components][at] 删除多余的中文注释 [utest][serial_v2] 添加交叉echo示例,qemu环境下专用 [bsp][qemu] 适配串口v2并开启fifo [components][at] 修复合并导致的错误 [bsp][n32] 适配serial_v2,没有经过测试 [components][serial_v2] 格式化代码 [utest][serial_v2] 删除无意义的打印
2025-05-16[building] rename the group name: LIBADT to Utilities. (#10267)Bernard Xiong
* [building] rename the group name: LIBADT to Utilities.
2025-04-29[components][wlan] Fixing comments errors of RT_WLAN_EVT_SCAN_DONE and ↵ricky
RT_WLAN_EVT_SCAN_REPORT (#10237)
2025-04-14[bsp/phytium]适配rtthread5.2版本 (#10178)zhangyan
* rtthread 5.2适配
2025-04-14[DM/FDT] Fix garble when booting1078249029
Fix garble caused by empty implementation of earlycon series function in driver.If driver doesn't offer earlycon_id or rt_f dt_earlycon_id.setup function but open option, the checking of best_earlycon_id will failed. Signed-off-by: 1078249029 <[email protected]>
2025-03-19[DM/Platform] Fixup the node will probe more than onceGUI
If a node request a new node or it's parent node. the request's node will probe a double time. So we check the device object of node in ofw probe entry and ofw probe child exit.
2025-03-17[DM/DMA] DMA src and dst is wrong.GUI
The first arg is src, then dst.
2025-03-12修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题yixinghua121
2025-03-11[doxygen][audio] Naming anonymous enumeration type audio_stream1078249029
Signed-off-by: 1078249029 <[email protected]>
2025-03-11[doxygen][audio] Fix group names by adding group_ prefix (#10094)wumingzi
Signed-off-by: 1078249029 <[email protected]>
2025-03-10fix(cherryusb): fix USBD_IRQHandler argumentsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-03-10update(cherryusb): update to v1.4.3sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-03-06[doxygen][audio] Fix doxygen comments for audio component1078249029
Added comments for data structure and rt_audio_ops in dev_audio.h. Enriched comments for macro group. Moved and renamed folder audio. Signed-off-by: 1078249029 <[email protected]>
2025-03-05[DM/THERMAL] fixup coefficients's offset lostGUI
coefficients is double u32 data list.
2025-03-05[components][drivers][spi]: fix: set message.parent.next to NULL for ↵Runcheng Lu
rt_qspi_send_then_recv API and rt_qspi_send API - Ensure correct QSPI message chaining by setting next pointer to NULL, preventing unintended data transmission issues. Signed-off-by: Runcheng Lu <[email protected]>
2025-03-05[components][drivers][spi] dev_spi_flash_sfud: fix: set message.parent.next ↵Runcheng Lu
to NULL for qspi_read API - Ensure correct QSPI message chaining by setting next pointer to NULL, preventing unintended data transmission issues Signed-off-by: Runcheng Lu <[email protected]>
2025-03-05[DM/OFW] check available in stub probeGUI
device node should not probe in stub if device is not available.
2025-03-01[RFC][doxygen]Doxygen comment standard processing (#10058)wumingzi
Signed-off-by: 1078249029 <[email protected]>
2025-03-01fix:pwm msh errCYFS
2025-03-01Fixup device rename by chip_selectGUI
`chip_select` is array now, should use index of value.
2025-02-26[bsp][nxp] add cherryusb config for mcxa156 (#10041)hydevcode
[bsp][nxp] add cherryusb config for mcxa156 and add ci.attachconfig
2025-02-16[src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST … (#9993)Supper Thomas
* [src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST and RT_USING_KTIME
2025-02-15doxygen: add prefix for groups (#9991)Chen Wang
* doxygen: add prefix for groups Add "group_" prefix to doxygen group names. This makes it easier to grep with group name later. This patch only modifies the groups defined in the pathes of INPUT of documentation/Doxyfile: INPUT = . \ ../src \ ../include \ ../components/finsh \ ../components/drivers/include/drivers \ ../components/drivers/clk \ ../components/dfs/dfs_v2/src \ ../components/dfs/dfs_v2/include Other groups are not touched. Signed-off-by: Chen Wang <[email protected]> * ci: fixed error report when run file_check.py Such as: - "please delete extra space at the end of this line." - "the RT-Thread error code should return negative value. e.g. return -RT_ERROR" Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2025-02-11[DM/THERMAL] Remove unused code in update pollGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/LED] Rename LED register/unregisterGuEe-GUI
rt_hw_* is use for DM and not DM, but LED only use in DM. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM] Replace spinlock static init by RT_DEFINE_SPINLOCKGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/PIN] Reset the value of PIN_NONEGuEe-GUI
PIN_NONE is '-1', is similar to '-RT_ERROR', '-RT_EEMPTY' is better. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/CORE] Add IDA init in runtimeGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[DM/SPI] Make CS pin config fixed in system (#9977)GUI
Make a max CS pin value (16) for SPI, that will not alloc `*cs_pins` by malloc, because drivers call `rt_device_unregister` may not free item. Fixup the QSPI init configure member in DM mode. Make SoC Kconfig import easy. Signed-off-by: GuEe-GUI <[email protected]>
2025-02-11[drivers/spi]修复spi configure会执行两次的问题 (#9972)Rbb666
* [drivers/spi]修复spi configure会执行两次的问题
2025-02-10[DM/FDT] Fixup earlycon loss old messages.GuEe-GUI
The `rt_fdt_scan_chosen_stdout` will init fdt_earlycon data without `msg` only, the `msg_idx` should not clean, too. Because we check if have old messages by `msg_idx` Signed-off-by: GuEe-GUI <[email protected]>
2025-02-09[drivers/spi]统一软件SPI配置Rbb666
2025-02-01[action] add ci menuconfig check (#9961)Supper Thomas
2025-01-27[doxygen] add doxygen comment for clk.c and clk.h (#9950)wumingzi
Accroding to #9947 and #9424, adding doxygen comment for function in .c files and data structure, macro in .h file is a solution.For this pr, I encountered problem following situations. - rt_clk_unprepare function return value type is different from rt_clk_ops so I change type of rt_clk_unprepare and its dependencies. - clk_get function may be similar as rt_clk_unprepare but I'm not sure so not modify. - clk_release implements may be incomplete, so I just marked in comment. Signed-off-by: 1078249029 <[email protected]>
2025-01-27[components][drivers]:fix spi bug and add software spi (#9944)CYFS
* fix:spi bus issue * [components][drivers]add software SPI bus support
2025-01-24[bsp][nrf5x]added the cherryusb adapter for nrf52840 (#9939)hydevcode