mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #7758 from haukepetersen/opt_make_termprog
make: tools: serial: allow for using picocom as term prog
This commit is contained in:
commit
0718898cc0
@ -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