zephyr/samples/basic/threads/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

18 lines
482 B
YAML

sample:
description: A basic demo to showcase multi-threading
using K_THREAD_DEFINE
name: Basic Thread Demo
tests:
sample.threads:
tags: kernel threads gpio
filter: dt_compat_enabled_with_alias("gpio-leds", "led0") and
dt_compat_enabled_with_alias("gpio-leds", "led1")
depends_on: gpio
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Toggle USR0 LED(.*)"
- "Toggle USR1 LED(.*)"