Closed knw1 closed 1 year ago
ping
Corrected according to your suggestion :)
Thanks a lot for the fix, and sorry I have overlooked your PR when doing the recent rebase to v7.2.0. One small comment, which I can also apply myself when cherry-picking your commit, if you agree.
I prepared a correction and squashed the commits so there is only one commit.
Cherry-picked as https://github.com/espressif/qemu/commit/db73e5e237c1e89b6952d3d7a06f20d76a2ce237, thank you for the fix!
Hi There!
The pull request provides a fix that solves a problem of reading a few bytes at once (as one transaction) from an emulated i2c device
I encountered the problem during using the example "i2c_tools". Consider the following i2c-tools cmd:
There is an error on stdout/stderr of the qemu during performing above cmd:
Response after applying my changes
No error on QEMU stdout/stderr. Got expected result, emulated TMP105 returns 0xff when i2c master wants to read more than two bytes
If you need more info, let me know.
Best regards, Karol