summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/HAL_Drivers/drivers/drv_spi.h
AgeCommit message (Collapse)Author
2026-09-14[bsp][stm32] Add SPI BDMA support and unify DMA/BDMA/GPDMA configmoment-NEW
- Unify DMA/BDMA/GPDMA descriptors in drv_dma (common fields + per-type union) - Support BDMA in SPI driver with h7 dma/spi config header updates - Add SPI6 TX/RX BDMA Kconfig options for H7
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-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-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
2025-09-25feat[SPI]: Add SPI device detach functionwdfk-prog
2023-12-03[stm32] split stm32 drivers as normal and nano driversMeco Man
- move all normal drivers (devices framework drivers) into drivers folder. - create nano folder for nano drivers nano drivers are only for a simply wrap of the HAL function, and not seek for adopting rt-thread devcies framework. - provide unified nano console and GPIO drivers.