MCPcopy Create free account
hub / github.com/apache/nuttx / wait

Method wait

tools/flash_writer.py:487–492  ·  view source on GitHub ↗
(self, string)

Source from the content-addressed store, hash-verified

485 return rx
486
487 def wait(self, string):
488 while True:
489 rx = self.recv()
490 if string.encode() in rx:
491 time.sleep(0.1)
492 break
493
494 def wait_for_prompt(self):
495 prompt_pat = re.compile(b"updater")

Callers 4

install_filesMethod · 0.95
save_filesMethod · 0.95
cc1101_access_beginFunction · 0.80
rpmsg_waitFunction · 0.80

Calls 1

recvMethod · 0.95

Tested by

no test coverage detected