jplaut / vim-arduino-ino

MIT License
94 stars 21 forks source link

Is this mac-only? #3

Open gfixler opened 9 years ago

gfixler commented 9 years ago

I see this line in

https://github.com/jplaut/vim-arduino-ino/blob/master/plugin/vim-arduino-serial#L8

Also, ls /dev/tty.* lists nothing on my Linux box (there's only /dev/tty):

https://github.com/jplaut/vim-arduino-ino/blob/master/plugin/vim-arduino-serial#L5

jplaut commented 9 years ago

Per the Ino Arduino website, the Ino plugin works on both Linux and Mac so building and running the project should be fine on both platforms. The serial monitor script is written in Applescript so will only work on Mac. If someone would like to write a similar script for Linux, that'd be great.

/dev/tty contains references to serial devices attached to your computer and therefore will be empty unless your arduino is connected. For info on TTY, check out http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-7.html

haydenflinner commented 8 years ago

The ino serial command looks for picocom, so I just installed that and changed my ArduinoSerial function toexecute "!ino serial".