stevearc/vim-arduino

ArduinoSerial outputs "executing job failed: No such file or directory "

gviscardi opened this issue · 2 comments

OS: Arch
VIm: 8.1.470
Arduino: 1.87
Set the path in my .vimrc
Build and upload works, but when it comes to connecting via serial, it gives the error " executing job failed: No such file or directory "
I have chosen the port and board with the vim-arduino commands
Serial connection works in Arduino and arduino-mk

If I had to guess, I'd say that you're missing the command we're using to make the serial connection. If you check out the docs, the default command is screen, but you can customize it

*'g:arduino_serial_cmd'*
Command used to connect to the serial port for debugging. The strings '{port}'
and '{baud}' will be replace with the port and baud values. >
let g:arduino_serial_cmd = 'screen {port} {baud}'
let g:arduino_serial_cmd = 'picocom {port} -b {baud} -l'
<

So first thing to check would be if you have screen installed, and if you want to use a different command for the serial connection you should change the value of g:arduino_serial_cmd

Perfect, thank you! I did not realize you used screen. I need to start reading the docs more.