mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +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
|
||||
break
|
||||
|
||||
if time.time() - timeout_start > 10:
|
||||
if "nsh>" in serial_line:
|
||||
finished = 1
|
||||
break
|
||||
|
||||
if time.time() > timeout_start + timeout:
|
||||
print("Error, timeout")
|
||||
finished = 1
|
||||
|
||||
Reference in New Issue
Block a user