The samples/subsys/mgmt/osdp utilize GPIO so having it set in the prj.conf is needed since not all platforms enable GPIO by default. To address the 'No SOURCES given to Zephyr library: drivers__gpio' add a 'depends on gpio' to the sample.yaml to only build this on platforms that have GPIO driver support. Fixes #39180 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
16 lines
239 B
Plaintext
16 lines
239 B
Plaintext
#
|
|
# Copyright (c) 2020 Siddharth Chandrasekaran <siddharth@embedjournal.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_PRINTK=y
|
|
CONFIG_LOG=y
|
|
CONFIG_GPIO=y
|
|
|
|
# OSDP config
|
|
CONFIG_OSDP=y
|
|
CONFIG_OSDP_MODE_PD=y
|
|
|
|
CONFIG_OSDP_LOG_LEVEL=4
|