summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/HAL_Drivers
AgeCommit message (Collapse)Author
2026-03-22[bsp][stm32/fdcan]修复CAN-FD发送/接收问题并新增5Mbps ISO ↵takuya60
CAN-FD数据相位速率支持
2026-03-16fix[stm32][spi]: add usage_freq and compute transfer timeout by frequencywdfk-prog
2026-03-15feat[stm32][i2c]: Add H7 hard I2C config and I2C4 entrieswdfk-prog
2026-02-03fix[STM32][RTC]: Compute tv_usec from SecondFraction/SubSeconds and skip ↵wdfk-prog
during shift pending Use the generic SecondFraction/SubSeconds formula when SSR/PRER are available. If SHPF is present and a shift is pending, keep tv_usec at 0. Platforms without SSR/PRER (e.g. F1) default to 0.
2026-02-03feat[STM32][CAN]: drain RX FIFO frames in ISR with a bounded limit to reduce ↵wdfk-prog
overruns - Add CAN_ISR_DRAIN_LIMIT (default 3) to cap ISR work - Drain multiple frames per RX0/RX1 interrupt to reduce FIFO FULL/OVERRUN
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
2026-01-20update:更新维护者信息PeakRacing
2026-01-05feat:[stm32][can]: Validate CAN filter bank settings and skip invalid itemswdfk-prog
2025-12-17fix: resolve QSPI compilation error and add CI guard for stm32l475-atk-pandoraEric Chan
- Fix function pointer type mismatch between drv_qspi.h and rt_qspi_device - Add qspi-flash.attach file for CI compilation guard - Optimize code with macros and inline adapter - Include all related bug fixes and configuration updates Fixes: #11036
2025-12-01[bsp][stm32]:remove duplicated header includes for drv_stdio.hCYFS
2025-11-22docs:[STM32][drv_gpio] Add detailed Doxygen comments for GET_PIN macrowdfk-prog
2025-11-22fix:[STM32][drv_can] Suppress unused variable warning in send error pathwdfk-prog
2025-11-13feat:[stm32][can]: enhance control logic and refactor sendmsgwdfk-prog
2025-11-08fix:stm32 can build error (#10909)CYFS
2025-11-07[bsp] [stm32] 添加鹿小班STM32H723开发板的BSP (#10842)Pcb-yun
* [bsp] [stm32] 添加鹿小班STM32H723开发板的BSP * fix(bsp): 修正链接脚本中的拼写错误并启用环境变量配置 修复链接脚本中'excetion'拼写错误为'execution' 启用rtconfig.py中的环境变量配置选项 * fix(bsp): 重新添加开发板IAR、GCC链接脚本 链接脚本中包含了所有寄存器,除flash与主sarm外其余寄存器已注释 * refactor(bsp): 移除冗余的SOC_STM32H723ZGT6配置选项
2025-10-29[bsp/stm32h7]: Add STM32H7 fdcan driver. #10767PandaFeng
2025-10-20fix-artpi-rtc4444x
2025-09-28feat[can]: Implement non-blocking send mechanism and enhance CAN driver ↵wdfk-prog
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-25feat[SPI]: Add SPI device detach functionwdfk-prog
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-07-20[bsp][stm32][usart_v2] 优化usart_2驱动兼容性 (#10496)RyanCW
2025-07-12[stm32] Modify MIN_PERIOD and MIN_PULSE to Allow PWM Duty Cycle of 0%wdfk-prog
Co-authored-by: wdfk-prog <[email protected]>
2025-07-08[stm32] Fix Assertion Failure in HAL Library Due to Period=0 During PWM ↵wdfk-prog
Initialization Co-authored-by: wdfk-prog <[email protected]>
2025-07-02fix stm32 ↵unnamed2
CAN的SCE中断中只在ACK错误检查发送完成导致小概率出错的问题 #10354
2025-06-22[bsp][stm32] 1.Fixed the problem that the watchdog device was not ↵Chasel
registered, because the macro RT_USING_WDT was not introduced due to the missing header file.
2025-06-09bsp: stm32: drv_rtc: add local time conversion for get timeval and set stampRuncheng Lu
- include the year, month, and day for rtc_alarm_time_set API - add local time conversion for get timeval and set stamp Signed-off-by: Runcheng Lu <[email protected]>
2025-06-08bsp: artpi2: init project. (#10364)stranding
2025-05-22[components][serial_v2] ↵ryancw
写满丢弃策略对dma_ping_buf的处理有误、细节调整
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-12bsp/stm32: Separate stm32mp1 hal drivers (#10264)沐攸
* bsp/stm32: Separate stm32mp1 hal drivers * bsp/stm32: change stm32mp1 .config
2025-05-09fix: solve the issue of abnormal startup of STM32MP157, and fix arduino ci ↵Yuqiang Wang
error.
2025-03-18[bsp][stm32][nano]:fix nano console (#10121)CYFS
2025-03-17[bsp][stm32][artpi]:fix artpi ethCYFS
2025-03-15[bsp/stm32]fix compile warning (#10108)dongly
* [bsp/stm32]fix compile warning
2025-03-03[bsp][stm32][uart]:fix stm32 uart timout (#10022)CYFS
fix:stm32 uart timout
2025-02-27fix:[stm32][lcd]Error in control call of lcd test function (#10040)wdfk-prog
* Optimize the lcd_test function to call it in thread to prevent the CLI environment from being unavailable after execution.
2025-02-09[drivers/spi]统一软件SPI配置Rbb666
2025-01-04Fix: [CAN][STM32] GCC compile errorsGibby
error: a label can only be part of a statement and a declaration is not a statement 459 | rt_uint32_t errtype;
2024-12-21[opt][SDIO_MAX_FREQ redundant define del]Gaogao
2024-12-13[bsp][stm32] hardware i2c driver add support for STM32F1 serieszzk597
2024-11-13fix:[CAN][STM32]open时立刻启动can_start,还未完成其他配置,可能 ↵wdfk-prog
导致异常
2024-10-19[bsp][stm32][rsoc]串口超时判断逻辑有问题CYFS
[bsp][stm32]fix uart bug
2024-10-14[bsp][stm32] fix variable initMeco Man
fix https://github.com/RT-Thread/rt-thread/pull/9525
2024-10-12move `GPIO_InitStruct` variable inside to `PIN_IRQ_ENABLE`. thanks to ↵Diamond Rivero
@mysterywolf
2024-10-12call `HAL_GPIO_Init()` by defaultDiamond Rivero
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-07-19删除stm32/drv_pm.c不必要的头文件Rbb666
2024-07-19[stm32][pm]lptimer is supportedwdfk-prog
2024-07-19[stm32][lptim]lptimer is register with hwtimer, only supports pm calls,the ↵wdfk-prog
timer function is not supported