2017-10-27 02:05:38 +08:00
|
|
|
sample:
|
2017-12-06 02:00:43 +08:00
|
|
|
description: A basic demo to showcase multi-threading
|
|
|
|
using K_THREAD_DEFINE
|
2017-10-27 02:05:38 +08:00
|
|
|
name: Basic Thread Demo
|
|
|
|
tests:
|
2019-12-02 01:29:43 +08:00
|
|
|
sample.basic.threads:
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: kernel threads gpio
|
2019-10-26 01:01:22 +08:00
|
|
|
filter: dt_compat_enabled_with_alias("gpio-leds", "led0") and
|
|
|
|
dt_compat_enabled_with_alias("gpio-leds", "led1")
|
2019-02-22 14:24:59 +08:00
|
|
|
depends_on: gpio
|
2019-03-03 23:07:25 +08:00
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: false
|
|
|
|
regex:
|
|
|
|
- "Toggle USR0 LED(.*)"
|
|
|
|
- "Toggle USR1 LED(.*)"
|