jlaitine opened a new pull request #1045:
URL: https://github.com/apache/incubator-nuttx/pull/1045


   ## Summary
   
   This set of patches fix some issues we have encountered with dma driver:
   - Compiling the DMA code for stm32h7 with CONFIG_DEBUG_ASSERTIONS=y fail
   - It was not possible to DMA to/from AXI sram if CONFIG_STM32H7_DMACAPABLE=y
   - When doing TX DMA (e.g. in SPI driver in simplex-tx mode), it should not 
be necessary to
   align the data buffers to the cache line. Doing only clean is perfectly fine 
to a full cache line, even if it contains some other data that is just managed 
by CPU. Also, since the cache management
   (clean/invalidate) is being done from outside the DMA driver, probably 
checking whether it is done correctly should be done there as well.
   
   ## Impact
   
   This gives possibility to send arbitrary number of bytes from memory to 
peripheral using DMA also when using write-back cache
   
   ## Testing
   
   This has been tested with sending arbitrary long packets from AXI sram to 
SPI simplex tx, in write-back cache configuration on stm32h743zi platform.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to