Update And Install A New Application - mangOH Red Getting Started

Wpx5xx + linux dev machine + cli
Hide thumbs Also See for Red:
Table of Contents

Advertisement

Rev 2 8/23/17
A.1.3 Update and Install a New Application
When you installed Legato, sample application files were also stored. In this section,
you will build and then install the "hello world" application on the target.
Build (compile) an application on the dev machine and install it on the target:
1. On the dev machine, open a new terminal window.
2. Set up the window for CLI development as described in
Machine's Terminal Windows for Development on page
3. Go to the sample application directory for Hello World:
$ cd $LEGATO_ROOT/apps/sample/helloWorld
4. Compile the application.
$ make wp85
Note: This 'make' command uses the Makefile in the current directory to build only the
sample application. It does not build the entire system like the 'make' command in
an Installed Application on page
5. Verify that the update file helloWorld.wp85.update was created:
$ ls -al
6. Install the application on the target:
$ app install helloWorld.wp85.update 192.168.2.2
Note: This application will remain on the target until you either specifically remove it, or
until the next time you reinstall the system on the target.
Log in to the target and run the application:
1. Set up a window to show the application's output (the "Hello World" application
writes to a log file) as follows:
a. Open a new terminal window (referred to as LOG_TERM in this procedure).
47
43.
Configure the Dev
42.
Update
41110481

Advertisement

Table of Contents
loading

Table of Contents