mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
make.serial: allow for using picocom as term prog
This commit is contained in:
parent
fdc0eabd0f
commit
cd5fa2690e
@ -5,13 +5,18 @@ ifeq ($(OS),Linux)
|
||||
else ifeq ($(OS),Darwin)
|
||||
PORT ?= $(PORT_DARWIN)
|
||||
endif
|
||||
|
||||
ifeq ($(PORT),)
|
||||
$(info Warning: no PORT set!)
|
||||
endif
|
||||
export PORT
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user