]> git.proxmox.com Git - mirror_qemu.git/commit
tests/microbit-test: add TWI stub device test
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 29 Jan 2019 11:46:03 +0000 (11:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jan 2019 11:46:03 +0000 (11:46 +0000)
commitb36356f69941bcda47ac3d97c2b05757728575c9
treebc8fc5bde8fd7087ff4ca330d4648da80616c9d7
parent9d68bf564ecd038c8939b9779f4b6d62a01ce6f3
tests/microbit-test: add TWI stub device test

This test verifies that we read back the expected I2C WHO_AM_I register
values for the accelerometer/magnetometer.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190110094020.18354-3-stefanha@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/microbit-test.c