Skip to content

Commit

Permalink
Revert default MONITOR_CMD to screen
Browse files Browse the repository at this point in the history
Add support for tail as `MONITOR_CMD`.
  • Loading branch information
doronbehar committed Oct 11, 2018
1 parent 1e766cf commit e76be67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Arduino.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e76be67

Please sign in to comment.