zephyr/drivers/i2c/Kconfig.test
Martí Bolívar 7bbead6786 drivers: i2c: add dummy driver for vnd,i2c
We will need this to be able to DEVICE_DT_GET() bus devices from
tests/drivers/build_all in an upcoming commit.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-02-23 10:34:19 -05:00

10 lines
271 B
Plaintext

# Copyright (c) 2021, Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_VND_I2C := vnd,i2c
# Hidden option for turning on the dummy driver for vnd,i2c devices
# used in testing.
config I2C_TEST
def_bool $(dt_compat_enabled,$(DT_COMPAT_VND_I2C))