Skip to content

Commit 01c9b14

Browse files
aescolarnashif
authored andcommitted
samples/usb: Fix filtering for POSIX arch
Some of these samples were filtering all POSIX arch boards out by explictly listing them by name (and for the nrf52_bsim by lack of usb_device). Instead filter by the architecture. There is no functional difference in tree with this change. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent d22a343 commit 01c9b14

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

samples/subsys/usb/audio/headphones_microphone/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.audio.headphones_microphone:
55
depends_on: usb_device
66
tags: usb
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
integration_platforms:
99
- nrf52840dk_nrf52840
1010
- nrf5340dk_nrf5340_cpuapp

samples/subsys/usb/audio/headset/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.audio.headset:
55
depends_on: usb_device
66
tags: usb
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
integration_platforms:
99
- nrf52840dk_nrf52840
1010
- nrf5340dk_nrf5340_cpuapp

samples/subsys/usb/cdc_acm/sample.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.cdc-acm:
55
depends_on: usb_device
66
tags: usb
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
harness: console
99
harness_config:
1010
type: one_line
@@ -23,7 +23,7 @@ tests:
2323
sample.usb.cdc-acm.comp:
2424
depends_on: usb_device
2525
tags: usb
26-
platform_exclude: native_posix native_posix_64
26+
arch_exclude: posix
2727
extra_args: OVERLAY_CONFIG=overlay-composite-cdc-msc.conf
2828
harness: console
2929
harness_config:
@@ -33,7 +33,7 @@ tests:
3333
sample.usb.cdc-acm.buildonly:
3434
depends_on: usb_device
3535
tags: usb
36-
platform_allow: native_posix native_posix_64
36+
arch_allow: posix
3737
build_only: true
3838
integration_platforms:
3939
- native_posix

samples/subsys/usb/cdc_acm_composite/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.cdc-acm-composite:
55
depends_on: usb_device
66
tags: usb
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
harness: console
99
harness_config:
1010
type: one_line

samples/subsys/usb/dfu/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ sample:
33

44
common:
55
build_only: true
6-
platform_exclude: native_posix native_posix_64 mimxrt1010_evk
6+
arch_exclude: posix
7+
platform_exclude: mimxrt1010_evk
78
mimxrt1050_evk_qspi mimxrt1020_evk mimxrt1015_evk mimxrt1060_evk sam4l_ek
89
mimxrt1050_evk mimxrt1060_evk_hyperflash nucleo_f207zg teensy40 teensy41
910
b_u585i_iot02a frdm_kl25z lpcxpresso55s69_cpu0 stm32l562e_dk_ns

samples/subsys/usb/hid/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.hid:
55
depends_on: usb_device
66
tags: usb
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
harness: console
99
harness_config:
1010
type: multi_line
@@ -16,7 +16,7 @@ tests:
1616
extra_configs:
1717
- CONFIG_USB_COMPOSITE_DEVICE=y
1818
tags: usb
19-
platform_exclude: native_posix native_posix_64
19+
arch_exclude: posix
2020
harness: console
2121
harness_config:
2222
type: multi_line

samples/subsys/usb/mass/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tests:
44
sample.usb.mass_ram_none:
55
min_ram: 64
66
depends_on: usb_device
7-
platform_exclude: native_posix native_posix_64
7+
arch_exclude: posix
88
extra_configs:
99
- CONFIG_LOG_DEFAULT_LEVEL=3
1010
tags: msd usb
@@ -33,7 +33,7 @@ tests:
3333
sample.usb.mass_ram_fat:
3434
min_ram: 128
3535
depends_on: usb_device
36-
platform_exclude: native_posix native_posix_64
36+
arch_exclude: posix
3737
extra_configs:
3838
- CONFIG_LOG_DEFAULT_LEVEL=3
3939
- CONFIG_APP_MSC_STORAGE_RAM=y

0 commit comments

Comments
 (0)