You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "michallenc (via GitHub)" <gi...@apache.org> on 2023/07/03 10:46:09 UTC

[GitHub] [nuttx] michallenc opened a new pull request, #9684: samv7: fix minor issues with serial DMA

michallenc opened a new pull request, #9684:
URL: https://github.com/apache/nuttx/pull/9684

   ## Summary
   
   Circular buffer does not use DMA linked list therefore function sam_freelinklist() cannot be called as it would fail on assertion (csa
   not defined). Peripheral that calls DMA should care of buffer invalidation instead.
   
   Second commit is a small fix that ensures all DMA pointers are correctly reseted during DMA setup (when the driver is opened). Without this there could be rare occurrence of driver pointing to incorrect (invalidate) DMA buffer and thus saving incorrect characters to upper layer.
   
   ## Testing
   Tested on SAMv7 custom board
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] pkarashchenko merged pull request #9684: samv7: fix minor issues with serial DMA

Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #9684:
URL: https://github.com/apache/nuttx/pull/9684


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org