zephyr/samples/subsys/usb/mass/sample.yaml
Maciej Perkowski d224d7fcd5 sample: usb: Change integration_platforms to platform_allow
The sample proviades required overlays only for 3 platforms.
Therefore, flash scenarios can only work on those 3 platforms.
To reflect this, platform_allow has to be used instead of
integration_platforms, so boards without overlays are not picked up
into a scope.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
2022-07-07 10:11:44 +02:00

76 lines
2.1 KiB
YAML

sample:
name: Mass Storage
tests:
sample.usb.mass_ram_none:
min_ram: 64
depends_on: usb_device
platform_exclude: native_posix native_posix_64
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
tags: msd usb
harness: console
harness_config:
type: one_line
regex:
- "The device is put in USB mass storage mode."
sample.usb.mass_ram_fat:
min_ram: 128
depends_on: usb_device
platform_exclude: native_posix native_posix_64
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_RAM=y
tags: msd usb
harness: console
harness_config:
type: one_line
regex:
- "The device is put in USB mass storage mode."
sample.usb.mass_flash_fatfs:
min_ram: 32
modules:
- fatfs
depends_on: usb_device
filter: dt_compat_enabled("nordic,qspi-nor")
platform_allow: nrf52840dk_nrf52840 nrf5340dk_nrf5340_cpuapp adafruit_feather_nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
tags: msd usb
harness: console
harness_config:
type: one_line
regex:
- "The device is put in USB mass storage mode."
sample.usb.mass_sdhc_fatfs:
min_ram: 32
modules:
- fatfs
depends_on: usb_device sdhc
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_SDCARD=y
tags: msd usb
harness: console
harness_config:
type: one_line
fixture: fixture_sdcard
regex:
- "The device is put in USB mass storage mode."
sample.usb.mass_flash_littlefs:
modules:
- littlefs
min_ram: 32
depends_on: usb_device
filter: dt_compat_enabled("nordic,qspi-nor")
platform_allow: nrf52840dk_nrf52840 nrf5340dk_nrf5340_cpuapp adafruit_feather_nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_LITTLEFS=y
tags: msd usb
harness: console
harness_config:
type: one_line
regex:
- "The device is put in USB mass storage mode."