ProSoft Technology MVI56E-LDM User Manual
Page 34

Development Environment
ControlLogix Platform ♦ "C" Programmable
Developer's Manual
Linux Application Development Module
Page 28 of 264
ProSoft Technology, Inc.
March 12, 2014
2. Open a Bash Shell window by clicking on the Bash Shell icon on the main
page.
3. Once in the shell, change the directory to one of the samples. In this
case, change the directory to get to the LED_sample program.
cd /workspace/mvi56e-ldm/src/LDM/led_sample$
as shown below:
4. To recompile and link, simply type "
make
". In this case, the executable is
up to date and nothing needs to be done.
5. If the source is changed, "make" detects the newer time on the source file
and rebuilds the application. In the following example, the Touch Utility is
used to cause the date of the file
led_sample.c
to be updated as if the file
had been changed and "make" is re-invoked. Make detects this change,
recompiles and re-links the application.
Downloading the Application
There are two ways to place the application on the target:
FTP
Firmware Update Feature