1sample:
2  name: Mass Storage
3tests:
4  sample.usb.mass_ram_none:
5    min_ram: 64
6    depends_on: usb_device
7    arch_exclude: posix
8    extra_configs:
9      - CONFIG_LOG_DEFAULT_LEVEL=3
10    tags:
11      - msd
12      - usb
13    harness: console
14    harness_config:
15      type: multi_line
16      ordered: true
17      regex:
18        - "No file system selected"
19        - "The device is put in USB mass storage mode."
20  sample.usb_device_next.mass_ram_none:
21    min_ram: 64
22    depends_on: usb_device
23    platform_allow:
24      - nrf52840dk_nrf52840
25      - frdm_k64f
26    extra_args: CONF_FILE="usbd_next_prj.conf"
27    extra_configs:
28      - CONFIG_LOG_DEFAULT_LEVEL=3
29    tags:
30      - msd
31      - usb
32    harness: console
33    harness_config:
34      type: multi_line
35      ordered: true
36      regex:
37        - "No file system selected"
38        - "The device is put in USB mass storage mode."
39  sample.usb.mass_ram_fat:
40    min_ram: 128
41    depends_on: usb_device
42    arch_exclude: posix
43    extra_configs:
44      - CONFIG_LOG_DEFAULT_LEVEL=3
45      - CONFIG_APP_MSC_STORAGE_RAM=y
46    tags:
47      - msd
48      - usb
49    harness: console
50    harness_config:
51      type: multi_line
52      ordered: true
53      regex:
54        - "End of files"
55        - "The device is put in USB mass storage mode."
56  sample.usb.mass_flash_fatfs:
57    min_ram: 32
58    modules:
59      - fatfs
60    depends_on: usb_device
61    filter: dt_compat_enabled("nordic,qspi-nor")
62    platform_allow:
63      - nrf52840dk_nrf52840
64      - nrf5340dk_nrf5340_cpuapp
65      - adafruit_feather_nrf52840
66    integration_platforms:
67      - nrf52840dk_nrf52840
68    extra_configs:
69      - CONFIG_LOG_DEFAULT_LEVEL=3
70      - CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
71    tags:
72      - msd
73      - usb
74    harness: console
75    harness_config:
76      type: multi_line
77      ordered: true
78      regex:
79        - "End of files"
80        - "The device is put in USB mass storage mode."
81  sample.usb_device_next.mass_flash_fatfs:
82    min_ram: 32
83    modules:
84      - fatfs
85    depends_on: usb_device
86    filter: dt_compat_enabled("nordic,qspi-nor")
87    platform_allow:
88      - nrf52840dk_nrf52840
89      - nrf5340dk_nrf5340_cpuapp
90      - adafruit_feather_nrf52840
91    integration_platforms:
92      - nrf52840dk_nrf52840
93    extra_args: CONF_FILE="usbd_next_prj.conf"
94    extra_configs:
95      - CONFIG_LOG_DEFAULT_LEVEL=3
96      - CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
97    tags:
98      - msd
99      - usb
100    harness: console
101    harness_config:
102      type: multi_line
103      ordered: true
104      regex:
105        - "End of files"
106        - "The device is put in USB mass storage mode."
107  sample.usb.mass_sdhc_fatfs:
108    min_ram: 32
109    modules:
110      - fatfs
111    depends_on:
112      - usb_device
113      - sdhc
114    extra_configs:
115      - CONFIG_LOG_DEFAULT_LEVEL=3
116      - CONFIG_APP_MSC_STORAGE_SDCARD=y
117    tags:
118      - msd
119      - usb
120    harness: console
121    harness_config:
122      fixture: fixture_sdcard
123      type: multi_line
124      ordered: true
125      regex:
126        - "End of files"
127        - "The device is put in USB mass storage mode."
128  sample.usb.mass_flash_littlefs:
129    modules:
130      - littlefs
131    min_ram: 32
132    depends_on: usb_device
133    filter: dt_compat_enabled("nordic,qspi-nor")
134    platform_allow:
135      - nrf52840dk_nrf52840
136      - nrf5340dk_nrf5340_cpuapp
137      - adafruit_feather_nrf52840
138    integration_platforms:
139      - nrf52840dk_nrf52840
140    extra_configs:
141      - CONFIG_LOG_DEFAULT_LEVEL=3
142      - CONFIG_APP_MSC_STORAGE_FLASH_LITTLEFS=y
143    tags:
144      - msd
145      - usb
146    harness: console
147    harness_config:
148      type: multi_line
149      ordered: true
150      regex:
151        - "End of files"
152        - "The device is put in USB mass storage mode."
153