Skip to content

Commit

Permalink
makefiles/tools/serial.inc.mk: pyterm: log to /tmp by default
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Jan 29, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
miri64 Martine Lenders
1 parent 61546d5 commit 59bb957
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
@@ -44,8 +44,9 @@ endif
RIOT_TERMINAL ?= pyterm
ifeq ($(RIOT_TERMINAL),pyterm)
PYTERMSESSION ?= $(shell date +%Y-%m-%d_%H.%M.%S)-$(APPLICATION)-$(BOARD)
PYTERMLOGDIR ?= "/tmp/pyterm-$(USER)"
TERMPROG ?= $(RIOTTOOLS)/pyterm/pyterm
TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)" -rn "$(PYTERMSESSION)" $(PYTERMFLAGS)
TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)" -ln $(PYTERMLOGDIR) -rn "$(PYTERMSESSION)" $(PYTERMFLAGS)
else ifeq ($(RIOT_TERMINAL),socat)
SOCAT_OUTPUT ?= -
TERMPROG ?= $(RIOT_TERMINAL)

0 comments on commit 59bb957

Please sign in to comment.