aboutsummaryrefslogtreecommitdiff
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
parent6bffcd33836cfe7a569af49c7469050d21209b21 (diff)
Add support for cu as MONITOR_CMD, use ~. to exit, be mindful when using over ssh
-rw-r--r--Arduino.mk2
-rw-r--r--HISTORY.md1
2 files changed, 3 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
diff --git a/HISTORY.md b/HISTORY.md
index f1b19b6..51d9d56 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -9,6 +9,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- Fix: Auto-detect F_CPU on Teensy from boards.txt (https://github.com/DaWelter)
- Fix: params typo in PuTTY section (issue #487) (https://github.com/ericdand)
- Fix: Fixed sed expression to properly format show_submenu (issue #488) (https://github.com/cbosdo)
+- New: Add support for good old cu as monitor command (issue #492) (https://github.com/mwm)
### 1.5.2 (2017-01-11)