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>
12 lines
297 B
YAML
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
|