Skip to content

Commit

Permalink
sample: usb: allow samples to be built on all platforms with 'usbd'
Browse files Browse the repository at this point in the history
Replace platform_allow with integration_platforms, what allow CI to
build samples on all platforms with test feature 'usbd' but still limits
number of platforms when it is invoked with the --integration option.
Replace/add some platforms that already have test feature 'usbd'.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no committed Jul 4, 2024
1 parent 0d0c5af commit 9f685ae
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
5 changes: 3 additions & 2 deletions samples/subsys/usb/cdc_acm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ tests:
depends_on: usbd
tags: usb
extra_args: CONF_FILE="usbd_next_prj.conf"
platform_allow:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
- 96b_carbon/stm32f401xe
- stm32f723e_disco
- nucleo_f413zh
- mimxrt685_evk/mimxrt685s/cm33
- mimxrt1060_evk
harness: console
Expand Down
6 changes: 5 additions & 1 deletion samples/subsys/usb/hid-keyboard/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ common:
depends_on:
- usbd
- gpio
platform_allow:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
- stm32f723e_disco
- nucleo_f413zh
- mimxrt685_evk/mimxrt685s/cm33
- mimxrt1060_evk
tests:
sample.usbd.hid-keyboard:
tags: usb
Expand Down
6 changes: 5 additions & 1 deletion samples/subsys/usb/hid-mouse/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ tests:
sample.usb_device_next.hid-mouse:
depends_on:
- usbd
platform_allow:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
- stm32f723e_disco
- nucleo_f413zh
- mimxrt685_evk/mimxrt685s/cm33
- mimxrt1060_evk
extra_args:
- CONF_FILE="usbd_next_prj.conf"
- EXTRA_DTC_OVERLAY_FILE="usbd_next.overlay"
Expand Down
4 changes: 3 additions & 1 deletion samples/subsys/usb/mass/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ tests:
sample.usb_device_next.mass_ram_none:
min_ram: 128
depends_on: usbd
platform_allow:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
- stm32f723e_disco
- nucleo_f413zh
- mimxrt685_evk/mimxrt685s/cm33
- mimxrt1060_evk
extra_args:
Expand Down
2 changes: 1 addition & 1 deletion samples/subsys/usb/shell/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ common:
- usbd
tests:
sample.usbd.shell:
platform_allow:
integration_platforms:
- nrf52840dk/nrf52840
- nrf54h20dk/nrf54h20/cpuapp
- frdm_k64f
Expand Down

0 comments on commit 9f685ae

Please sign in to comment.