17 lines
239 B
Plaintext
Executable File
17 lines
239 B
Plaintext
Executable File
|
|
# $1 - root@192.168.0.5
|
|
# $2 - ../out/build/am64xx_Debug/profinet_io_dev
|
|
|
|
$(dirname "$0")/copy_app $1 $2
|
|
|
|
|
|
ssh $1 <<END_SCRIPT
|
|
|
|
cd /home/root/ProfinetConnector
|
|
chmod 777 $(basename "$2")
|
|
|
|
gdbserver :5000 $(basename "$2")
|
|
exit
|
|
|
|
END_SCRIPT
|