mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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.
This commit is contained in:
parent
c2c6457fbf
commit
dcf87b10b6
@ -267,6 +267,7 @@ class LinuxMonitor(Monitor):
|
||||
|
||||
def serial_write(self, *args, **kwargs): # type: ignore
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user