commit | 7c773ff9e559e09666df1b72ecb07240fc2dbe81 | [log] [tgz] |
---|---|---|
author | Nathaniel Brough <nathaniel.brough@gmail.com> | Wed May 05 08:24:31 2021 +0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 05 03:56:06 2021 +0000 |
tree | dde9dc0dd00065ea90458f280ecaa786c8dcd677 | |
parent | 62683b680221433118d73c0191ea195946a4afe2 [diff] |
pw_i2c: Adds a mocked initiator implementation This is useful as a reusable mock when writing drivers. Specifically this allows a driver developer to specify a set of mocked i2c transactions. This does not require physical hardware and is ideal for unit testing a driver. Change-Id: I4e0f13450f84feeefeef534b6c46192462c18a8b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/37920 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Ewout van Bekkum <ewout@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com> Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
See our website: http://pigweed.dev