- hil test max retry = 3

- fix h7 unused function
This commit is contained in:
hathach
2025-04-17 16:58:26 +07:00
parent d4983acd3a
commit 0220852a6e
3 changed files with 3 additions and 5 deletions

View File

@@ -543,7 +543,7 @@ def test_example(board, f1, example):
print(f'Flashing {fw_name}.elf')
# flash firmware. It may fail randomly, retry a few times
max_rety = 2
max_rety = 3
for i in range(max_rety):
ret = globals()[f'flash_{board["flasher"]["name"].lower()}'](board, fw_name)
if ret.returncode == 0: