Skip to content

Commit dae7564

Browse files
committed
samples: zephyr: subsys: usb: align for LM20 DK
Merge configuration with H20. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 156b156 commit dae7564

File tree

2 files changed

+14
-94
lines changed

2 files changed

+14
-94
lines changed

samples/zephyr/subsys/usb/hid-keyboard/sample.yaml

Lines changed: 11 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ common:
1212
harness: console
1313
harness_config:
1414
type: multi_line
15+
ordered: false
1516
regex:
1617
- "HS bNumConfigurations 1"
1718
- "FS bNumConfigurations 1"
@@ -23,100 +24,38 @@ tests:
2324
nrf.extended.sample.usbd.hid-keyboard:
2425
integration_platforms:
2526
- nrf54h20dk/nrf54h20/cpuapp
26-
platform_allow:
27-
- nrf54h20dk/nrf54h20/cpuapp
28-
nrf.extended.sample.usbd.hid-keyboard.out-report:
29-
integration_platforms:
30-
- nrf54h20dk/nrf54h20/cpuapp
31-
platform_allow:
32-
- nrf54h20dk/nrf54h20/cpuapp
33-
extra_args:
34-
- EXTRA_DTC_OVERLAY_FILE="out_report.overlay"
35-
nrf.extended.sample.usbd.hid-keyboard.large-report:
36-
integration_platforms:
37-
- nrf54h20dk/nrf54h20/cpuapp
38-
platform_allow:
39-
- nrf54h20dk/nrf54h20/cpuapp
40-
extra_args:
41-
- EXTRA_DTC_OVERLAY_FILE="large_in_report.overlay"
42-
nrf.extended.sample.usbd.hid-keyboard.large-out-report:
43-
integration_platforms:
44-
- nrf54h20dk/nrf54h20/cpuapp
45-
platform_allow:
46-
- nrf54h20dk/nrf54h20/cpuapp
47-
extra_args:
48-
- EXTRA_DTC_OVERLAY_FILE="large_out_report.overlay"
49-
nrf.extended.sample.usbd.hid-keyboard.l20:
50-
integration_platforms:
51-
- nrf54l20pdk/nrf54l20/cpuapp
5227
- nrf54lm20apdk/nrf54lm20a/cpuapp
5328
platform_allow:
54-
- nrf54l20pdk/nrf54l20/cpuapp
29+
- nrf54h20dk/nrf54h20/cpuapp
5530
- nrf54lm20apdk/nrf54lm20a/cpuapp
5631
- [email protected]/nrf54lm20a/cpuapp
57-
harness_config:
58-
type: multi_line
59-
regex:
60-
- "HS bNumConfigurations 1"
61-
- "FS bNumConfigurations 1"
62-
- "HID keyboard sample is initialized"
63-
- "USBD message: VBUS ready"
64-
- "Actual device speed 2"
65-
- "s-in-status finished"
66-
nrf.extended.sample.usbd.hid-keyboard.out-report.l20:
32+
nrf.extended.sample.usbd.hid-keyboard.out-report:
6733
integration_platforms:
68-
- nrf54l20pdk/nrf54l20/cpuapp
34+
- nrf54h20dk/nrf54h20/cpuapp
6935
- nrf54lm20apdk/nrf54lm20a/cpuapp
7036
platform_allow:
71-
- nrf54l20pdk/nrf54l20/cpuapp
37+
- nrf54h20dk/nrf54h20/cpuapp
7238
- nrf54lm20apdk/nrf54lm20a/cpuapp
7339
- [email protected]/nrf54lm20a/cpuapp
7440
extra_args:
7541
- EXTRA_DTC_OVERLAY_FILE="out_report.overlay"
76-
harness_config:
77-
type: multi_line
78-
regex:
79-
- "HS bNumConfigurations 1"
80-
- "FS bNumConfigurations 1"
81-
- "HID keyboard sample is initialized"
82-
- "USBD message: VBUS ready"
83-
- "Actual device speed 2"
84-
- "s-in-status finished"
85-
nrf.extended.sample.usbd.hid-keyboard.large-report.l20:
42+
nrf.extended.sample.usbd.hid-keyboard.large-report:
8643
integration_platforms:
87-
- nrf54l20pdk/nrf54l20/cpuapp
44+
- nrf54h20dk/nrf54h20/cpuapp
8845
- nrf54lm20apdk/nrf54lm20a/cpuapp
8946
platform_allow:
90-
- nrf54l20pdk/nrf54l20/cpuapp
47+
- nrf54h20dk/nrf54h20/cpuapp
9148
- nrf54lm20apdk/nrf54lm20a/cpuapp
9249
- [email protected]/nrf54lm20a/cpuapp
9350
extra_args:
9451
- EXTRA_DTC_OVERLAY_FILE="large_in_report.overlay"
95-
harness_config:
96-
type: multi_line
97-
regex:
98-
- "HS bNumConfigurations 1"
99-
- "FS bNumConfigurations 1"
100-
- "HID keyboard sample is initialized"
101-
- "USBD message: VBUS ready"
102-
- "Actual device speed 2"
103-
- "s-in-status finished"
104-
nrf.extended.sample.usbd.hid-keyboard.large-out-report.l20:
52+
nrf.extended.sample.usbd.hid-keyboard.large-out-report:
10553
integration_platforms:
106-
- nrf54l20pdk/nrf54l20/cpuapp
54+
- nrf54h20dk/nrf54h20/cpuapp
10755
- nrf54lm20apdk/nrf54lm20a/cpuapp
10856
platform_allow:
109-
- nrf54l20pdk/nrf54l20/cpuapp
57+
- nrf54h20dk/nrf54h20/cpuapp
11058
- nrf54lm20apdk/nrf54lm20a/cpuapp
11159
- [email protected]/nrf54lm20a/cpuapp
11260
extra_args:
11361
- EXTRA_DTC_OVERLAY_FILE="large_out_report.overlay"
114-
harness_config:
115-
type: multi_line
116-
regex:
117-
- "HS bNumConfigurations 1"
118-
- "FS bNumConfigurations 1"
119-
- "HID keyboard sample is initialized"
120-
- "USBD message: VBUS ready"
121-
- "Actual device speed 2"
122-
- "s-in-status finished"

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

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,14 @@ common:
99
- usb
1010

1111
tests:
12-
nrf.extended.sample.usb_device_next.hid-mouse.h20:
13-
depends_on:
14-
- usbd
15-
integration_platforms:
16-
- nrf54h20dk/nrf54h20/cpuapp
17-
platform_allow:
18-
- nrf54h20dk/nrf54h20/cpuapp
19-
extra_args:
20-
- CONF_FILE="usbd_next_prj.conf"
21-
- EXTRA_DTC_OVERLAY_FILE="usbd_next.overlay"
22-
timeout: 15
23-
harness: console
24-
harness_config:
25-
type: multi_line
26-
regex:
27-
- "HS bNumConfigurations 1"
28-
- "FS bNumConfigurations 1"
29-
- "Actual device speed 2"
30-
- "s-in-status finished"
31-
nrf.extended.sample.usb_device_next.hid-mouse.l20:
12+
nrf.extended.sample.usb_device_next.hid-mouse:
3213
# depends_on:
3314
# - usbd
3415
integration_platforms:
35-
- nrf54l20pdk/nrf54l20/cpuapp
16+
- nrf54h20dk/nrf54h20/cpuapp
3617
- nrf54lm20apdk/nrf54lm20a/cpuapp
3718
platform_allow:
38-
- nrf54l20pdk/nrf54l20/cpuapp
19+
- nrf54h20dk/nrf54h20/cpuapp
3920
- nrf54lm20apdk/nrf54lm20a/cpuapp
4021
- [email protected]/nrf54lm20a/cpuapp
4122
extra_args:

0 commit comments

Comments
 (0)