Merge branch 'feature/idf_monitor_debug_ws' into 'master'

tools/idf_monitor: add WebSocket client for IDE integration

Closes IDF-1719

See merge request espressif/esp-idf!9032
This commit is contained in:
Ivan Grokhotkov
2020-06-22 15:50:11 +08:00
9 changed files with 269 additions and 28 deletions

View File

@@ -27,7 +27,7 @@ class CustomProcess(object):
self.f = open(logfile, 'w')
if self.verbose:
Utility.console_log('Starting {} > {}'.format(cmd, self.f.name))
self.pexpect_proc = pexpect.spawn(cmd, timeout=60, logfile=self.f, encoding='utf-8')
self.pexpect_proc = pexpect.spawn(cmd, timeout=60, logfile=self.f, encoding='utf-8', codec_errors='ignore')
def __enter__(self):
return self