Align the docs and source code with other changes done to the basic samples. Use numbers 0 and 1 to refer to the LEDs consistently. This matches the generic devicetree aliases used by Zephyr, instead of using USR1 and USR2, which are specific to 96b_carbon. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
17 lines
502 B
YAML
17 lines
502 B
YAML
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_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:
|
|
- "Toggled led0; counter=(.*)"
|
|
- "Toggled led1; counter=(.*)"
|