Check for and expose maximum (DMA) transfer size Topic is solved
Check for and expose maximum (DMA) transfer size Topic is solved
STM32 hal_spi_lld has an assert which checks that the maximum transfer size is not violated (n < 65536). Other drivers that use DMA also have this limitation, but this condition is not being checked. Additionally, it would be useful to remove that magic number and instead expose that as a #define so that the application can use it to split up transfers in blocks when needed.
- Giovanni
- Site Admin
- Posts: 14565
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1112 times
- Been thanked: 937 times
- Contact:
Re: Check for and expose maximum (DMA) transfer size
Hi,
STM32 DMA drivers now export an STM32_DMA_MAX_TRANSFER definition. Removed the constant from all SPI drivers.
Currently in trunk but will be ported back to 21.11.3.
Giovanni
STM32 DMA drivers now export an STM32_DMA_MAX_TRANSFER definition. Removed the constant from all SPI drivers.
Currently in trunk but will be ported back to 21.11.3.
Giovanni
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 6 guests