zephyr/samples/subsys/mgmt/osdp/peripheral_device/sample.yaml
Kumar Gala bfcb32b755 samples/subsys/mgmt/osdp: Fix build issues
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>
2021-10-06 10:32:10 -04:00

12 lines
297 B
YAML

sample:
description: OSDP Peripheral Device Sample
name: osdp
tests:
sample.mgmt.osdp.peripheral_device:
tags: osdp
depends_on: gpio
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and CONFIG_SERIAL
harness: osdp
integration_platforms:
- frdm_k64f