summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
AgeCommit message (Collapse)Author
2026-05-20fix[STM32][SPI]: preload receive-only dummy bufferwdfk-prog
preload the actual HAL receive buffer with 0xFF for receive-only transfers rename spi_dma_flag to spi_xfer_flags to match DMA and interrupt flags clarify SPI async completion and transfer-mode comments add Doxygen comments for STM32 SPI runtime structures and handlers
2026-05-20fix[STM32][SPI]: ignore benign Tx-only OVR after async completionwdfk-prog
2026-05-20feat[STM32][SPI]: add interrupt transfer scaffolding for spi driverwdfk-prog
introduce interrupt transfer route selection and SPI IRQ visibility macros unify DMA and INT completion handling with timeout-triggered abort recovery keep short transfers on polling and use DMA or INT only when eligible refine STM32 SPI init and IRQ registration paths for mixed transfer backends
2026-05-20feat[STM32][SPI]: refine dma config hierarchy for hard spiwdfk-prog
refine the stm32 hard spi dma configuration hierarchy with shared feature macros align dma flag usage with rt-device dma flags and gate dma-only fields and paths make the dma transfer threshold configurable through BSP_SPI_DMA_TRANS_MIN_LEN
2026-05-14[bsp][stm32]:Separate the stm32l1 driver libraryCYFS
2026-05-12fix[STM32][I2C]: stabilize async completion and recovery flow for hard i2cwdfk-prog
enable I2C error irq when async transfer paths are used fall back to polling when scheduler or interrupt context cannot wait for completion complete the wait path on HAL error callback and abort the transfer on async timeout or error allow INT and DMA mode flags to coexist and keep recovery behavior aligned across STM32 I2C IPs
2026-05-06fix[stm32][drv_sdio]: remove duplicate function declarationswdfk-prog
2026-05-06refactor[STM32][DMA]: unify DMA config descriptors in HAL driver configswdfk-prog
- migrate STM32 HAL driver DMA config macros to shared descriptor init helpers - add overridable DMA priority and NVIC priority fields for board-level configs - align SPI, UART, I2C, SDIO, and QSPI DMA descriptors across visible STM32 series configs - simplify per-series DMA config definitions and reduce duplicated field assignments
2026-05-06refactor[STM32][DMA]: add common DMA helper layer for HAL driverswdfk-prog
- add drv_dma common helpers and stm32_dma_config descriptors for STM32 series - refactor i2c, spi, usart, qspi, and sdio DMA setup and deinit paths to reuse the common layer - unify DMA IRQ enable, rollback handling, and const board-level DMA configuration usage
2026-04-19Fix SPI DMA timeout units and free temporary bufferswdfk-prog
2026-04-19fix:[STM32][SPI]Refactor spixfer to fix DMA reception bug, correct timeout ↵wdfk-prog
calculation
2026-04-17feat[STM32][USART]: add uart error callback supportwdfk-prog
add a control command to register a per-device uart error callback invoke the callback from the HAL uart error hook and clear it before close return -RT_ENOSYS when dma mode is requested without dma support propagate the set-int fallback result in optmode setup to keep control return values explicit
2026-04-17fix[STM32][I2C]: allow INT and DMA flags to coexist in hard i2c configwdfk-prog
2026-04-14fix[stm32[SDMMC]: Optimize SDMMC timeout handling and clock dividerwdfk-prog
2026-04-13fix:[STM32][I2C]:DMA RX setting bugwdfk-prog
2026-04-13feat:[STM32][I2C]:Distinguish STM32 I2C timing semantics by IP generationwdfk-prog
2026-04-07refactor[stm32][i2c]: restructure transfer flow and error handlingwdfk-prog
2026-04-07feat[stm32][i2c]: support poll/int/dma transfer paths and i2c4wdfk-prog
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-21[bsp] fix rtconfig.py SyntaxWarningdongly
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-13clang format ignore migrationwestcity-YOLO
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-23[format][version]: synchronize bsp version configurationkurisaw
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] 删除无意义的打印