Skip to content

Commit 0141bc0

Browse files
MarkWangChineseaescolar
authored andcommitted
sample: usb: mass: add next device sdcard test case
update the sample.yaml file. Signed-off-by: Mark Wang <[email protected]>
1 parent 9a45300 commit 0141bc0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

samples/subsys/usb/mass/sample.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,28 @@ tests:
134134
regex:
135135
- "End of files"
136136
- "The device is put in USB mass storage mode."
137+
sample.usb_device_next.mass_sdhc_fatfs:
138+
min_ram: 32
139+
modules:
140+
- fatfs
141+
depends_on:
142+
- usbd
143+
- sdhc
144+
extra_configs:
145+
- CONFIG_LOG_DEFAULT_LEVEL=3
146+
- CONFIG_APP_MSC_STORAGE_SDCARD=y
147+
extra_args: CONF_FILE="usbd_next_prj.conf"
148+
tags:
149+
- msd
150+
- usb
151+
harness: console
152+
harness_config:
153+
fixture: fixture_sdcard
154+
type: multi_line
155+
ordered: true
156+
regex:
157+
- "End of files"
158+
- "The device is put in USB mass storage mode."
137159
sample.usb.mass_flash_littlefs:
138160
modules:
139161
- littlefs

0 commit comments

Comments
 (0)