Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cu #492

Closed
mwm opened this issue Mar 30, 2017 · 1 comment
Closed

Add support for cu #492

mwm opened this issue Mar 30, 2017 · 1 comment

Comments

@mwm
Copy link

mwm commented Mar 30, 2017

Cu is the standard comms program for Unix. While it's not all that popular with the Linux generation, it ships as part of the base OS for Unix variants based on AT&T code (the BSD's, MacOS, Solaris, etc.). Seems like it'd be nice to have support for a command that's already there, especially on MacOS.

The diff is trivial, so I've included it here instead of making a real PR. If you really need the PR, let me know.

--- 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
@sej7278
Copy link
Collaborator

sej7278 commented Apr 1, 2017

Merged thanks @mwm

@sej7278 sej7278 closed this as completed Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants