zephyr/drivers/gpio/Kconfig.test
Jordan Yates 6ec3967eaa drivers: gpio: test driver
Add a dummy driver for the `vnd,gpio` compatible to allow compilation of
drivers utilising GPIO when running "build_all" tests.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-01-04 09:10:40 -05:00

11 lines
342 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_GPIO := vnd,gpio
# Hidden option for turning on the dummy driver for vnd,gpio devices
# used in testing.
config GPIO_TEST
def_bool $(dt_compat_enabled,$(DT_COMPAT_VND_GPIO))