v01d commented on pull request #2674: URL: https://github.com/apache/incubator-nuttx/pull/2674#issuecomment-761619149
So, to sum it up I believe the situation is as follows: 1. we should support repeated start using list feature (this is also good in terms of using DMA for large transfers) 2. for transmissions involving multiple messages where no stop nor repeated start should be sent, copying everything to one chunk only seems possible. I don't really like to do 2. under the hood as it could involve a lot of data being allocated copied without user knowledge. what if we simply don't support this considering it as a hardware limitation? As discussed I think this is rarely required as in most cases the correct approach is to use a repeated start. This may require looking at existing drivers to see if they actually need to be changed to use a repeated start (assuming the device supports it) instead of just expecting one whole transaction. I think either way 1. could be separately addressed as it may touch a bunch of code. @raiden00pl would you be interested in doing that? I'm currently using I2C device on nRF52 so I could give it a try if not. ---------------------------------------------------------------- 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: us...@infra.apache.org