bugfix(tools): idf.py monitor now reads correctly on Linux

A missing flush in the serial reader implementation for
Linux target was causing input to idf.py monitor to not
be forwarded to the application. This is fixed now.
pull/10970/head
Jakob Hasse 2022-11-24 15:52:46 +01:00
rodzic 5f25bd8437
commit 46c92405f2
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -277,6 +277,7 @@ class LinuxMonitor(Monitor):
def serial_write(self, *args: str, **kwargs: str) -> None:
self.serial.stdin.write(*args, **kwargs)
self.serial.stdin.flush()
def check_gdb_stub_and_run(self, line: bytes) -> None:
return # fake function for linux target