zephyr/samples/basic/button/sample.yaml
Kumar Gala 4cc91fdd00 sample/tests: replace DT_ define filters with dt_ functions
convert sample and test yaml filters that utilize a DT_ define to
instead use a dt_ function.  The intent is to remove the Kconfig
generated DT defines and just make directy queries into the device tree.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-11-04 09:02:14 -05:00

9 lines
178 B
YAML

sample:
name: Button Sample
tests:
sample.button:
tags: button gpio
filter: dt_compat_enabled_with_alias("gpio-keys", "sw0")
depends_on: gpio
harness: button