summaryrefslogtreecommitdiff
path: root/bsp/at32/libraries/rt_drivers
AgeCommit message (Collapse)Author
2026-07-16[bsp][drivers][soft_i2c] unify the software I2C driverCYFS
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
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-03-06[bsp/at32] add support at32f455/456/457 series and support bsp pkg (#9974)sheltonyu
2024-12-21[opt][SDIO_MAX_FREQ redundant define del]Gaogao
2024-09-29[bsp/at32] update pwm driversheltonyu
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-09-02[bsp/at32] ethernet support phy lan8720 and yt8512sheltonyu
2024-09-02[bsp/at32] 1.add support m412/416 series, 2.add drv_can_v2 driver (support ↵sheltonyu
canfd)
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-08-23[bsp/at32] static dma_isr() in hard_i2c and spiKoen De Vleeschauwer
2024-07-24[bsp/at32] 1.add support hwi2c driver, 2.update all firmware libraries. (#9241)sheltonyu
* 1.add support hwi2c driver, 2.update all firmware libraries * update some files and fixed errors * add support a423 at hwi2c driver * add .ignore_format.yml
2024-05-16[bsp/at32] 1.fixed f402 uart7/8 pierph clock source error, 2.fixed compiling ↵sheltonyu
error of drv_usart_v2.c with no dma
2024-05-08[bsp][at32]修复at32_transmit返回类型错误WaterFishJ
2024-04-30[bsp/at32] add support at32a403a/a423 series and fix driver issues(uart/dma)sheltonyu
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-03-24[bsp][drv_gpio] fix the error code return when pin number is illegalMeco Man
2024-03-23[pin] pin_read/write rt_uint8_t to rt_ssize_tkk
2024-03-23[bsp][at32]修复由于ADC转换完成标志未清除导致ADC多通道读� ↵tianshnegming
�时概率性地通道错位
2024-02-26[bsp/at32] update usb host driver (#8560)sheltonyu
2023-11-17fixed usb/usart driverssheltonyu
2023-11-09[bsp/at32] 1.add support at32f402/405 series, 2.update emac/rtc/qspi/usb ↵sheltonyu
drivers (#8245)
2023-10-11[fix][usb]return data type as rt_ssize_tZ8MAN8
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-07-28[debug] use LOG_D instead RT_DEBUG_LOGMeco Man
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-05-06[bsp][at32]disable spi to change transfer size (#7448)JonasWen
2023-04-29[HUST CSE]fix:修改drv_spi.c空指针问题nobody
2023-04-18[bsp/at32] add support dac driversheltonyu
2023-04-17Fix: if语句的判断条件存在变量名错误Stwsyburg
2023-04-14[bsp/at32] add at32f435_437 uart interrupt functions macrossheltonyu
2023-04-14[bsp/at32] update for perfection of drv_usart_v2 (#7210)sheltonyu
2023-04-07[bsp/at32] fixed auto check errorsheltonyu
2023-04-07[bsp/at32] 1.fixed some errors and remove unused contents, 2.add support ↵sheltonyu
at32f423 series
2023-04-03[bsp/at32] remove #ifndef (#7168)sheltonyu
2023-04-03[bsp] fix mismatched function types in rt_pin_ops (#7161)hustlixiang21
2023-03-23[errno code]fix that use RT_ENOMEM without -Zxy
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-16[errno code][-RT_EINVAL] fix that use RT_EINVAL without -Meco Man
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-02-27fixed gcc compiling usb driver errors, update for including file position ↵sheltonyu
and adding macros
2023-02-24[bsp/at32] add support usb driver (#6968)sheltonyu
* add support usb driver * fixed code format error
2023-02-24[serial]增加at32的serial_v2驱动jonas
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-01add support f421/f425sheltonyu
2023-01-29[at32][can]修复CAN驱动返回消息时,错误给id和ide赋值问题Meco Man
该驱动收到can消息时,给上级返回消息结构的id和ide成员赋值不正确。 Signed-off-by: 李刚 <[email protected]>
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-06[bsp/at32] 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers ↵sheltonyu
suppor… (#6695) * 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers support dma * [bsp/at32] remove #ifndef
2022-11-21[CAN]update struct can_filter_item and rt_can_msg (#6556)wdfk-prog
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码 * update struct can_filter_item and rt_can_msg 1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index, 以便准确区分.采用宏定义兼容以前变量名. 2. 添加接收标识rxfifo,已指明是哪个RXFIFO. * 更正42M下的波特率 * 修复接收获取索引号错误 * 添加接收标识 * 更新注释 * 取消CANFD限制 * update struct can_filter_item and rt_can_msg
2022-10-16optimize emac and usart driver codesheltonyu
2022-08-22[fal] PKG_USING_FAL -> RT_USING_FALMeco Man
2022-08-13[DeviceDriver] Add CANFD support and correct typos (#5912)Fan Yang
* Add CANFD support and correct typos - Added CANFD required fields to can.h - Fixed typos in can.h and can.c - Corrected all the projects affected by the typo - Fixed wrong line-ending in some affected can driver files Signed-off-by: Fan YANG <[email protected]> * update Signed-off-by: Fan YANG <[email protected]> Co-authored-by: Meco Man <[email protected]>