mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
metro m7 has issue with cdc_msc example randomly on hil test. Exclude it for now
This commit is contained in:
parent
5254065976
commit
5f8599f6d4
@ -88,15 +88,16 @@ def read_disk_file(uid, lun, fname):
|
||||
timeout = ENUM_TIMEOUT
|
||||
while timeout:
|
||||
if os.path.exists(dev):
|
||||
fat = fs.open_fs(f'fat://{dev}')
|
||||
fat = fs.open_fs(f'fat://{dev}?read_only=true')
|
||||
try:
|
||||
assert fat.exists(fname), f'File {fname} not found in {dev}'
|
||||
with fat.open(fname, 'rb') as f:
|
||||
return f.read()
|
||||
data = f.read()
|
||||
finally:
|
||||
fat.close()
|
||||
assert data, f'Cannot read file {fname} from {dev}'
|
||||
return data
|
||||
time.sleep(1)
|
||||
timeout = timeout - 1
|
||||
timeout -= 1
|
||||
|
||||
assert timeout, f'Storage {dev} not existed'
|
||||
return None
|
||||
@ -322,7 +323,7 @@ def test_hid_boot_interface(board):
|
||||
time.sleep(1)
|
||||
timeout = timeout - 1
|
||||
|
||||
assert timeout, 'Device not available'
|
||||
assert timeout, 'HID device not available'
|
||||
|
||||
|
||||
def test_hid_composite_freertos(id):
|
||||
|
@ -17,6 +17,8 @@
|
||||
{
|
||||
"name": "metro_m7_1011",
|
||||
"uid": "9CE8715DD71137363E00005002004200",
|
||||
"tests_skip": ["cdc_msc", "cdc_msc_freertos"],
|
||||
"comment": "Somehow has issue with cdc_msc example randomly",
|
||||
"flasher": "jlink",
|
||||
"flasher_sn": "000611000000",
|
||||
"flasher_args": "-device MIMXRT1011xxx5A"
|
||||
|
Loading…
x
Reference in New Issue
Block a user