mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Remove line finalization when coredump is active to avoid coredump failure
Closes https://github.com/espressif/esp-idf/issues/8099
This commit is contained in:
parent
55da7a2f2e
commit
a7b249b182
@ -594,8 +594,11 @@ class Monitor(object):
|
||||
# generates an event which will result in the finishing of
|
||||
# the last line. This is fix for handling lines sent
|
||||
# without EOL.
|
||||
# finalizing the line when coredump is in progress causes decoding issues
|
||||
# the espcoredump loader uses empty line as a sign for end-of-coredump
|
||||
# line is finalized only for non coredump data
|
||||
elif event_tag == TAG_SERIAL_FLUSH:
|
||||
self.handle_serial_input(data, finalize_line=True)
|
||||
self.handle_serial_input(data, finalize_line=not self._coredump_buffer)
|
||||
else:
|
||||
raise RuntimeError('Bad event data %r' % ((event_tag,data),))
|
||||
except SerialStopException:
|
||||
|
Loading…
Reference in New Issue
Block a user