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=(.*)" |