emul: Add an emulator for the Bosch BMI160 accelerometer
This emulator supports enable functionality to start up the device and read a few samples. It connects itself to any BMI160 device it finds in the device tree. The SPI emulation controller driver is used to direct SPI messages from the BMI160 driver to the BMI160 emulator. Add a few more definitions to the header file, as needed. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4d77edd6ba
commit
442f38d610
6 changed files with 294 additions and 0 deletions
|
@ -4,3 +4,4 @@ zephyr_library()
|
|||
|
||||
zephyr_library_sources_ifdef(CONFIG_EMUL emul.c)
|
||||
add_subdirectory(i2c)
|
||||
add_subdirectory(spi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue