Skip to content

Commit

Permalink
Merge pull request #20121 from benpicco/pyterm-session
Browse files Browse the repository at this point in the history
makefiles/tools/serial.inc.mk: make use of pyterm session names
  • Loading branch information
maribu authored Nov 30, 2023
2 parents f22405e + 2933bbc commit e3ed5a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefiles/tools/serial.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ endif

RIOT_TERMINAL ?= pyterm
ifeq ($(RIOT_TERMINAL),pyterm)
PYTERMSESSION ?= $(shell date +%Y-%m-%d_%H.%M.%S)-$(APPLICATION)-$(BOARD)
TERMPROG ?= $(RIOTTOOLS)/pyterm/pyterm
TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)" $(PYTERMFLAGS)
TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)" -rn "$(PYTERMSESSION)" $(PYTERMFLAGS)
else ifeq ($(RIOT_TERMINAL),socat)
SOCAT_OUTPUT ?= -
TERMPROG ?= $(RIOT_TERMINAL)
Expand Down

0 comments on commit e3ed5a7

Please sign in to comment.