Skip to content

Commit

Permalink
makefiles/tools/serial.inc.mk: make use of pyterm session names
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Nov 29, 2023
1 parent 20c3898 commit fe2f5fb
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)
SESSION ?= $(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 "$(SESSION)" $(PYTERMFLAGS)
else ifeq ($(RIOT_TERMINAL),socat)
SOCAT_OUTPUT ?= -
TERMPROG ?= $(RIOT_TERMINAL)
Expand Down

0 comments on commit fe2f5fb

Please sign in to comment.