Develop And Test Applications; Develop Using The Cli-Command Line Interpreter; Configure The Dev Machine's Terminal Windows For Development - mangOH Red Manual

Wireless smart sim
Hide thumbs Also See for Red:
Table of Contents

Advertisement

A: Develop and Test applications
In this section, you will learn how to develop applications in the Legato development environment, install them onto
your mangOH Red, and test that they run.
Legato provides two interfaces for developing applications:
CLI—Command Line Interpreter in a terminal window.
Developer Studio—A GUI (Graphical User Interface) development environment.
This section describes development using CLI.
Note:
You will be updating application source code in this section. Use whichever editor you prefer—
these instructions do not refer to a specific editor.
Note:
This tutorial touches on the basics of using the Legato development environment. After completing
the examples in this chapter, see
references, forums, etc.
A.1 Develop using the CLI—Command Line Interpreter
A.1.1 Configure the Dev Machine's Terminal Windows for
Development
Note:
If you installed Legato to a subdirectory of your home directory using a different name than
'legato', replace "~/legato" with "~/<yourDirectory>" in the commands in this section.
To use the CLI in a terminal window to compile and build applications, you must configure the window to work with
Legato tools.
Each time you open a new terminal window, do the following:
1. Configure the window:
$ cfglegato
Note:
If you did not set up the cfglegato command in
Platform and mangOH Red Platform on
Rev 3 9/21/17
http://legato.io/legato-docs/latest/mangOH_developers.html
Step 3 on page 22
Target, do it now.
Power is OFF
Ignore these toolchain warnings.
39
for detailed
of
Build and Install Legato
A

Advertisement

Table of Contents
loading

Table of Contents