Using the SPI emulator we can create a simple test for the BMI160 driver. Add this an enable it for native_posix. Signed-off-by: Simon Glass <sjg@chromium.org>
11 lines
212 B
Plaintext
11 lines
212 B
Plaintext
# Copyright (c) 2020 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_EMUL=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_EMUL=y
|
|
CONFIG_BMI160=y
|
|
CONFIG_EMUL_BMI160=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_BMI160_TRIGGER_NONE=y
|