blob: e6605a0fbbac5bad3083e9fb90d379207e05723e [file] [log] [blame]
sample:
description: A basic demo to showcase multi-threading
using K_THREAD_DEFINE
name: Basic Thread Demo
tests:
sample.basic.threads:
tags: kernel threads gpio
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
dt_enabled_alias_with_parent_compat("led1", "gpio-leds")
depends_on: gpio
harness: console
harness_config:
type: multi_line
ordered: false
regex:
- "Toggled led0; counter=(.*)"
- "Toggled led1; counter=(.*)"