yamt commented on PR #14898: URL: https://github.com/apache/nuttx/pull/14898#issuecomment-2601210326
> > > > > @yamt Can you share what problem you want to resolve with this patch? I am plan to revert this PR. serial device is not suitable for using uio to implement 1 byte copy, It’s too complicate. > > > > > > > > > IMO, it's simpler than having two cases. > > > > I don't understand the problem you mentioned in your other PR, or can you give me some code examples? > > > > > > > > > [#12674 (comment)](https://github.com/apache/nuttx/pull/12674#issuecomment-2223050585) it usually ends up with readv with two iovecs. > > > > > > @yamt setup micro-python is too heavy for me. Can you share some specific code or the calling point of readv in micro-python? > > So the root cause is, if using readv to read 2 vector buffers, the second read will block and cannot exit, right? yes. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
