8173277cc1
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>
11 lines
337 B
Plaintext
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))
|