mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 14:42:58 +00:00
add message when flashing failed
This commit is contained in:
parent
64f86ef8e7
commit
9d0df8ebc5
@ -370,6 +370,7 @@ def main(config_file, board):
|
||||
if ret.returncode == 0:
|
||||
break
|
||||
else:
|
||||
print(f'Flashing failed, retry {i+1}')
|
||||
time.sleep(1)
|
||||
|
||||
assert ret.returncode == 0, 'Flash failed\n' + ret.stdout.decode()
|
||||
|
Loading…
x
Reference in New Issue
Block a user