OVMS3-idf/tools
Ivan Grokhotkov d7d6f1e376 idf_monitor: use cancellation and Console.getkey from pyserial 3.3.0+
Between 3.1.0 and 3.3.0, pyserial had thread cancellation implemented
using a select, which blocked on the stdin and an auxiliary pipe. When
thread had to be cancelled, a byte would be sent into the pipe,
unblocking stdin.

Unfortunately, this method suffers from a problem with using select on
a StreamReader (which represents the decoder wrapped around stdin).
In some cases, when the TTY sends an escape sequence in response to
an escape sequence received from serial, this escape sequence will not
be read from stdin until some key is pressed.

In https://github.com/pyserial/pyserial/commit/cab3dab, this method
was replaced with an TIOCSTI ioctl. This change makes sure we use the
new cancellation method even if the script is running with older
pyserial.
2017-08-21 15:58:28 +08:00
..
catch move Catch framework header into tools directory 2017-04-17 11:01:18 +08:00
ci CI: Make the list of examples permanent between jobs 2017-07-20 16:46:49 +08:00
esp_app_trace esp32: Adds functionality for application tracing over JTAG 2017-04-17 23:26:29 +03:00
kconfig kconfig: Ignore Windows host-compiled executables 2017-02-22 11:59:37 +11:00
unit-test-app ethernet: remove CONFIG_ETHERNET 2017-08-18 08:31:43 +05:30
windows windows: Don't expand PATH when generating setup 2017-03-30 12:09:50 +11:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
format-minimal.sh docs: add style guide 2016-11-03 18:41:00 +08:00
format.sh esp32: ReformatReformat panic.c (remove tabs, etc) 2016-12-07 13:25:56 -08:00
idf_monitor.py idf_monitor: use cancellation and Console.getkey from pyserial 3.3.0+ 2017-08-21 15:58:28 +08:00
idf_size.py make size: Fix map file parsing error on Windows 2017-06-29 12:54:13 +10:00