Skip to content

Commit 9d0df8e

Browse files
committed
add message when flashing failed
1 parent 64f86ef commit 9d0df8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/hil/hil_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ def main(config_file, board):
370370
if ret.returncode == 0:
371371
break
372372
else:
373+
print(f'Flashing failed, retry {i+1}')
373374
time.sleep(1)
374375

375376
assert ret.returncode == 0, 'Flash failed\n' + ret.stdout.decode()

0 commit comments

Comments
 (0)