Tools: extracted functionality out of idf_monitor

This commit is contained in:
Martin Gaňo
2021-05-14 11:20:38 +02:00
committed by bot
parent b5f9149399
commit 2452dc57f0
13 changed files with 555 additions and 456 deletions
+1 -5
View File
@@ -14,6 +14,7 @@
import os
import queue
import time
from serial.tools.miniterm import Console
@@ -22,11 +23,6 @@ from .console_parser import ConsoleParser
from .constants import CMD_STOP, TAG_CMD
from .stoppable_thread import StoppableThread
try:
import queue
except ImportError:
import Queue as queue # type: ignore
class ConsoleReader(StoppableThread):
""" Read input keys from the console and push them to the queue,