zephyr/drivers/adc/Kconfig.test
Jordan Yates 8173277cc1 drivers: adc: test driver
Add a dummy driver for the `vnd,adc` compatible to allow compilation of
drivers utilising an ADC when running "build_all" tests.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-01-17 08:13:41 -05:00

11 lines
337 B
Plaintext

# Copyright (c) 2021, Commonwealth Scientific and Industrial Research
# Organisation (CSIRO) ABN 41 687 119 230.
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_VND_ADC := vnd,adc
# Hidden option for turning on the dummy driver for vnd,adc devices
# used in testing.
config ADC_TEST
def_bool $(dt_compat_enabled,$(DT_COMPAT_VND_ADC))