Hi, i’m making a console application for raspberry Pi.
As you know, there isn’t a debugger for Pi, so the workflow is build the app, copy the files to the Pi, testing.
I would like to automate at least the copy of app on Pi, at the moment i do this with a terminal command like this from the Linux Arm build folder:
scp -r myPiBuild/ pi@192.168.1.10:/home/pi
can i use this command with a build step?
i’ve tryed this one, with no luck:
Dim command As String
command = "scp -r myPiBuild/ pi@192.168.1.10:/home/pi"
Dim result As String
result = DoShellCommand(command)
It works with a simple command like “open /Users/me/Desktop” but not with scp
probably i need some command to point to the right directory (build) before make the copy.
scp require password to work, so i make a public key on my mac and on the Pi to avoid typing password. (i don’t know if can put the password in the script)