mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Jenkins HITL exit upload monitor on nsh>
This commit is contained in:
@@ -26,6 +26,11 @@ def monitor_firmware_upload(port, baudrate):
|
|||||||
finished = 1
|
finished = 1
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if time.time() - timeout_start > 10:
|
||||||
|
if "nsh>" in serial_line:
|
||||||
|
finished = 1
|
||||||
|
break
|
||||||
|
|
||||||
if time.time() > timeout_start + timeout:
|
if time.time() > timeout_start + timeout:
|
||||||
print("Error, timeout")
|
print("Error, timeout")
|
||||||
finished = 1
|
finished = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user