Skip to content
Snippets Groups Projects
Commit cd5fa269 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

make.serial: allow for using picocom as term prog

parent fdc0eabd
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.
Please register or to comment