1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles/tools/serial.inc.mk: pyterm: log to /tmp by default

This commit is contained in:
Benjamin Valentin 2024-01-29 11:09:26 +01:00
parent 61546d55e0
commit 59bb957c84

View File

@ -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)