Makefile.include: add cleanterm target
It is similar to 'term' but with removing possible additional behaviors from pyterm. It currently removes the logging prefix.
This commit is contained in:
parent
a514c9bc12
commit
d27a43f89a
@ -630,6 +630,13 @@ term: $(filter flash flash-only, $(MAKECMDGOALS)) $(TERMDEPS)
|
||||
$(call check_cmd,$(TERMPROG),Terminal program)
|
||||
$(TERMPROG) $(TERMFLAGS)
|
||||
|
||||
# Term without the pyterm added logging
|
||||
# TERMFLAGS must be exported for `jlink.sh term_rtt`.
|
||||
cleanterm: export PYTERMFLAGS += --noprefix
|
||||
cleanterm: $(filter flash, $(MAKECMDGOALS)) $(TERMDEPS)
|
||||
$(call check_cmd,$(TERMPROG),Terminal program)
|
||||
$(TERMPROG) $(TERMFLAGS)
|
||||
|
||||
list-ttys:
|
||||
$(Q)$(RIOTTOOLS)/usb-serial/list-ttys.sh
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user