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-03-29 23:44:43 +08:00
|
|
|
sample.threads:
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: kernel threads gpio
|
2019-06-22 23:51:09 +08:00
|
|
|
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIOS_CONTROLLER
|
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(.*)"
|