summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2022-03-01 08:55:39 +1100
committerDamien George <damien@micropython.org>2022-04-04 16:49:38 +1000
commit79c05bd522addf14ddf188af712307ee76012d4a (patch)
tree59ad6356400c0056d0aa750c55f68fa7cb0d3a98 /docs/reference
parent56b331ace6b7f01bacdb8b5c66f0f517670abfdc (diff)
tools/mpremote: Improve reliability of mount after soft reboot.
With the existing code problems can occur with remounting, the "if t - t_last_activity > QUIET_TIMEOUT:" check can be triggered early before the REPL string comes through, meaning that the remount doesn't happen. On certain boards the "MPY: soft reboot" line comes through immediately (getting the routine past initial timeout) but then there's a slightly longer delay while the board restarts before it prints out the startup header and the REPL prompt. This commit adds some extra pattern monitoring during the timeout loop to track the state if a soft restart is actually started.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions