Skip to content

Commit b0d4f6b

Browse files
committed
samples: subsys: usb: hid-mouse: Confirm operation with console
Use console logs to determine if sample operates correctly. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
1 parent ae5f6c2 commit b0d4f6b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

samples/subsys/usb/hid-mouse/sample.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,20 @@ common:
55
filter: dt_alias_exists("sw0") and dt_alias_exists("led0")
66
depends_on:
77
- gpio
8+
tags: usb
89
tests:
910
sample.usb_device_next.hid-mouse:
1011
depends_on:
1112
- usbd
13+
timeout: 15
14+
harness: console
15+
harness_config:
16+
type: multi_line
17+
regex:
18+
- "HS bNumConfigurations 1"
19+
- "FS bNumConfigurations 1"
20+
- "Actual device speed 2"
21+
- "s-in-status finished"
1222
integration_platforms:
1323
- nrf52840dk/nrf52840
1424
- nrf54h20dk/nrf54h20/cpuapp
@@ -18,4 +28,3 @@ tests:
1828
- nucleo_f413zh
1929
- mimxrt1060_evk/mimxrt1062/qspi
2030
- max32690evkit/max32690/m4
21-
tags: usb

0 commit comments

Comments
 (0)