The sample illustrates a way of send all the channel event to the host by using the UART, a user_data portion, and the claim/finish APIs. Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
21 lines
503 B
YAML
21 lines
503 B
YAML
sample:
|
|
name: UART bridge
|
|
common:
|
|
tags: zbus
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: false
|
|
regex:
|
|
- "D: Core sending start measurement with status 0"
|
|
- "D: Peripheral sending sensor data"
|
|
- "D: Bridge Started"
|
|
- "D: Bridge send start_measurement"
|
|
- "D: Bridge send sensor_data"
|
|
- "D: Core sending start measurement with status 1"
|
|
|
|
tests:
|
|
sample.zbus.uart_bridge_build:
|
|
tags: zbus
|
|
filter: dt_nodelabel_enabled("uart1")
|