emul: spi: bmi160: Move to top-level directory
This emulator currently only supports SPI. Before making it also support I2C, move it up a directory to avoid I2C uses missing it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0de655e371
commit
fa90b5c243
5 changed files with 15 additions and 10 deletions
|
@ -3,5 +3,9 @@
|
|||
zephyr_library()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_EMUL emul.c)
|
||||
|
||||
zephyr_include_directories_ifdef(CONFIG_EMUL_BMI160 ${ZEPHYR_BASE}/drivers/sensor/bmi160)
|
||||
zephyr_library_sources_ifdef(CONFIG_EMUL_BMI160 emul_bmi160.c)
|
||||
|
||||
add_subdirectory(i2c)
|
||||
add_subdirectory(spi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue