Skip to content

Commit

Permalink
Merge pull request #13921 from leandrolanzieri/backport/2020.04/pr/mi…
Browse files Browse the repository at this point in the history
…niterm/flags

boards/common/msba2: Add MINITERMFLAGS to avoid reset [backport 2020.04]
  • Loading branch information
maribu committed Apr 22, 2020
2 parents b6cfd53 + 298081d commit 426ca6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions boards/common/msba2/Makefile.include
Expand Up @@ -16,6 +16,9 @@ PORT_LINUX ?= /dev/ttyUSB0
# This does not make a lot of sense, but it has the same value as the previous code
PORT_DARWIN ?= /dev/tty.usbserial-ARM

# when using miniterm set RTS and DTR lines to 0, otherwise the board is reset
MINITERMFLAGS += --rts 0 --dtr 0

PYTERMFLAGS += -tg
include $(RIOTMAKE)/tools/serial.inc.mk

Expand Down
2 changes: 1 addition & 1 deletion makefiles/tools/serial.inc.mk
Expand Up @@ -25,7 +25,7 @@ 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)"
TERMFLAGS ?= --eol LF "$(PORT)" "$(BAUD)" $(MINITERMFLAGS)
else ifeq ($(RIOT_TERMINAL),jlink)
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
TERMFLAGS = term-rtt
Expand Down

0 comments on commit 426ca6d

Please sign in to comment.