Deploy and test an application with Remote System Explorer (Eclipse plugin)

Prerequisite
If you are a beginner, I recommend you check first the tutorial for writing your first C language programs with Eclipse IDE on Windows/Linux :
Step 1. Connect USB to Serial TTL cable to the embedded device
Additionally, you will have to enable USB-to-Serial TTL via ‘Devices’ in the Virtual Machine menu, in case you are using the Linux Operating System from a Virtual Machine.
The reason you need the USB to Serial TTL connection is that you will have to get the IP Address of the embedded device before using the Remote System Explorer in Eclipse IDE.
Here is an example with screenshots considering Linux Ubuntu 18.04 running on an Oracle VirtualBox machine. The Embedded device in the example is a BeagleBone Black development board.



Note: in case you do not have ‘minicom’ on your machine, use:
sudo apt install minicom
to install it. Or get it via the Synaptic Package Manager.
Enable the feature in Eclipse for “Remote Systems”

Define a connection to a Remote System

Get the IP Address of the embedded device
In the example, get the IP Address of the BeagleBone Black board using minicom console. Your console is going to show a different IP Address, as handled by your network.

Enter the properties of the SSH connection in Eclipse IDE, Remote System Explorer interface

Connect to the embedded device (example BeagleBone Black) using SSH with Remote System Explorer


Now the development host is connected to the embedded device
In the example, the embedded device is a BeagleBone Black board running Debian Linux.

Drag the binary file produced in the project into whatever directory on the remote

Open an SSH shell to the embedded device to execute the program
In the example, the embedded device is a BeagleBone Black board running Debian Linux.

Write the commands in the Shell Window to execute the program
Set the necessary user access rights and execute the program via SSH console.

debian@beaglebone:~$ ls
bin Desktop
debian@beaglebone:~$ cd Desktop/
debian@beaglebone:~/Desktop$ ls
my_1st_Eclipse_Project
debian@beaglebone:~/Desktop$ chmod a+x my_1st_Eclipse_Project
debian@beaglebone:~/Desktop$ ./my_1st_Eclipse_Project
Hello from Linux