Skip to content
Snippets Groups Projects
Commit 0718898c authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

Merge pull request #7758 from haukepetersen/opt_make_termprog

make: tools: serial: allow for using picocom as term prog
parents d1f128e2 cd5fa269
No related branches found
No related tags found
No related merge requests found
...@@ -5,13 +5,18 @@ ifeq ($(OS),Linux) ...@@ -5,13 +5,18 @@ ifeq ($(OS),Linux)
else ifeq ($(OS),Darwin) else ifeq ($(OS),Darwin)
PORT ?= $(PORT_DARWIN) PORT ?= $(PORT_DARWIN)
endif endif
ifeq ($(PORT),) ifeq ($(PORT),)
$(info Warning: no PORT set!) $(info Warning: no PORT set!)
endif endif
export PORT
export BAUD ?= 115200 export BAUD ?= 115200
export TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)"
export TERMPROG ?= $(RIOTBASE)/dist/tools/pyterm/pyterm
export PORT TERMINAL ?= pyterm
ifeq ($(TERMINAL),pyterm)
export TERMPROG ?= $(RIOTBASE)/dist/tools/pyterm/pyterm
export TERMFLAGS ?= -p "$(PORT)" -b "$(BAUD)"
else ifeq ($(TERMINAL),picocom)
export TERMPROG ?= picocom
export TERMFLAGS ?= --nolock --imap lfcrlf --echo --baud "$(BAUD)" "$(PORT)"
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment