From e76be67d6e64d281589aa867021a2d45e55dfffe Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 9 Oct 2018 19:26:23 +0300 Subject: [PATCH] Revert default MONITOR_CMD to screen Add support for tail as `MONITOR_CMD`. --- Arduino.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Arduino.mk b/Arduino.mk index 5b85b56..3b4ecdb 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -959,7 +959,7 @@ ifeq ($(strip $(NO_CORE)),) $(call show_config_variable,MONITOR_BAUDRATE, [USER]) endif ifndef MONITOR_CMD - MONITOR_CMD = "less +F" + MONITOR_CMD = "screen" endif endif @@ -1763,6 +1763,8 @@ else ifeq ($(notdir $(MONITOR_CMD)), picocom) else ifeq ($(notdir $(MONITOR_CMD)), cu) $(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE) else ifeq ($(MONITOR_CMD), less) + $(MONITOR_CMD) +F $(call get_monitor_port) +else ifeq ($(MONITOR_CMD), tail) $(MONITOR_CMD) -f $(call get_monitor_port) else ifeq ($(MONITOR_CMD), cat) $(MONITOR_CMD) $(call get_monitor_port)