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>
This commit is contained in:
parent
6e7f93a5a3
commit
bfcb32b755
4 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_LOG=y
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# OSDP config
|
||||
CONFIG_OSDP=y
|
||||
|
|
|
@ -4,6 +4,7 @@ sample:
|
|||
tests:
|
||||
sample.mgmt.osdp.control_panel:
|
||||
tags: osdp
|
||||
depends_on: gpio
|
||||
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and CONFIG_SERIAL
|
||||
harness: osdp
|
||||
integration_platforms:
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_LOG=y
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# OSDP config
|
||||
CONFIG_OSDP=y
|
||||
|
|
|
@ -4,6 +4,7 @@ sample:
|
|||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue