aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2017-04-01 23:06:28 +0100
committerSimon John <git@the-jedi.co.uk>2017-04-01 23:06:28 +0100
commit18c6474d5068152168cee9f81c45a766b992bd84 (patch)
treed0969737c2fd94ecc68fe332943701d642d17f6f /Arduino.mk
parent6bffcd33836cfe7a569af49c7469050d21209b21 (diff)
Add support for cu as MONITOR_CMD, use ~. to exit, be mindful when using over ssh
Diffstat (limited to 'Arduino.mk')
-rw-r--r--Arduino.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Arduino.mk b/Arduino.mk
index 24b8256..9554f35 100644
--- a/Arduino.mk
+++ b/Arduino.mk
@@ -1533,6 +1533,8 @@ ifeq ($(MONITOR_CMD), 'putty')
endif
else ifeq ($(MONITOR_CMD), picocom)
$(MONITOR_CMD) -b $(MONITOR_BAUDRATE) $(MONITOR_PARAMS) $(call get_monitor_port)
+else ifeq ($(MONITOR_CMD), cu)
+ $(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE)
else
$(MONITOR_CMD) $(call get_monitor_port) $(MONITOR_BAUDRATE)
endif