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:
parent
8bf37f3f62
commit
a5785cdf9c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user