1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/serial.inc.mk: Support miniterm.py

miniterm.py is a simple terminal program that is included with pyserial.
This means that it is available wherever pyterm can work. It allows raw
access, does line translation and passes through special characters.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
This commit is contained in:
Alexandre Abadie 2019-11-19 15:06:46 +01:00
parent 8bf37f3f62
commit a5785cdf9c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -21,4 +21,9 @@ else ifeq ($(RIOT_TERMINAL),socat)
else ifeq ($(RIOT_TERMINAL),picocom)
TERMPROG ?= picocom
TERMFLAGS ?= --nolock --imap lfcrlf --baud "$(BAUD)" "$(PORT)"
else ifeq ($(RIOT_TERMINAL),miniterm)
TERMPROG ?= miniterm.py
# The RIOT shell will still transmit back a CRLF, but at least with --eol LF
# we avoid sending two lines on every "enter".
TERMFLAGS ?= --eol LF "$(PORT)" "$(BAUD)"
endif