zephyr/samples/subsys/usb/mass/sample.yaml

188 lines
4.6 KiB
YAML

sample:
name: Mass Storage
tests:
sample.usb.mass_ram_none:
min_ram: 128
depends_on: usb_device
arch_exclude: posix
extra_args:
- EXTRA_DTC_OVERLAY_FILE="ramdisk.overlay"
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "No file system selected"
- "The device is put in USB mass storage mode."
sample.usb_device_next.mass_ram_none:
min_ram: 128
depends_on: usbd
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="ramdisk.overlay"
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "No file system selected"
- "The device is put in USB mass storage mode."
sample.usb.mass_ram_fat:
min_ram: 128
depends_on: usb_device
arch_exclude: posix
extra_args:
- EXTRA_DTC_OVERLAY_FILE="ramdisk.overlay"
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_RAM=y
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "End of files"
- "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/nrf52840/sense
integration_platforms:
- nrf52840dk/nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "End of files"
- "The device is put in USB mass storage mode."
sample.usb_device_next.mass_flash_fatfs:
min_ram: 32
modules:
- fatfs
depends_on: usbd
filter: dt_compat_enabled("nordic,qspi-nor")
platform_allow:
- nrf52840dk/nrf52840
- nrf5340dk/nrf5340/cpuapp
- adafruit_feather_nrf52840/nrf52840/sense
integration_platforms:
- nrf52840dk/nrf52840
extra_args: CONF_FILE="usbd_next_prj.conf"
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "End of files"
- "The device is put in USB mass storage mode."
sample.usb.mass_sdhc_fatfs:
min_ram: 32
filter: dt_compat_enabled("zephyr,sdmmc-disk")
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:
fixture: fixture_sdcard
type: multi_line
ordered: true
regex:
- "End of files"
- "The device is put in USB mass storage mode."
sample.usb_device_next.mass_sdhc_fatfs:
min_ram: 32
filter: dt_compat_enabled("zephyr,sdmmc-disk")
modules:
- fatfs
depends_on:
- usbd
- sdhc
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_SDCARD=y
extra_args: CONF_FILE="usbd_next_prj.conf"
tags:
- msd
- usb
harness: console
harness_config:
fixture: fixture_sdcard
type: multi_line
ordered: true
regex:
- "End of files"
- "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/nrf52840/sense
integration_platforms:
- nrf52840dk/nrf52840
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3
- CONFIG_APP_MSC_STORAGE_FLASH_LITTLEFS=y
tags:
- msd
- usb
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "End of files"
- "The device is put in USB mass storage mode."