Build/Install The Mangoh Development Package - mangOH Red Getting Started Manual

Non-octave
Hide thumbs Also See for Red:
Table of Contents

Advertisement

Examples
Find all packages: $ leaf search
Find all packages for mangOH boards: $ leaf search -t mangOH
Find all packages for mangOH Red: $ leaf search -t mangOH -t red
Find all packages for mangOH Red using WP76 modules: $ leaf search -t mangOH -t red -t wp76xx
b. Set up the current directory as a Leaf workspace and automatically create a profile for the target package,
using the <packageIdentifier> from the previous step (e.g. mangoh-red-wp76xx_0.5.0) and give the profile
a descriptive <profileName>. This automatically downloads and installs the specified target package.
$ leaf setup <profileName> -p <packageIdentifier>
$ leaf setup p1_red76 -p mangoh-red-wp76xx_0.5.0
Cannot find workspace, initialize one in /home/mangoh/myWorkspace? (Y/n)
y
-> Execute: leaf init
Workspace initialized /home/mangoh/myWorkspace
...
...
[10/10] Installing mangoh-red-wp76xx_0.5.0
$
i. When the prompt "Cannot find workspace, initialize one in ...", press Enter (or type y and press Enter).
Note: This prompt appears only for the first profile you create, because the Leaf workspace must be initialized
before first use.
ii. If the prompt "Profile is out of sync ... Do you want to continue?" appears, press Enter or (type y and
press Enter).
iii. If the prompt "It is recommended to have the latest version of swiflash swicwe ... Do you want to
execute this command" appears, press Enter (or type Y and press Enter).
iv. If a prompt to accept the license appears, press Enter to display and then read the license. Press q to
quit the viewer, then type Y and press Enter to accept the license to continue.
Note: At any time, you can create additional profiles (for the same module series using different packages, or for other
module types and their packages). To create additional profiles, repeat
Important:
Do not make any manual changes to ~/leaf—that folder is managed by Leaf and contains files shared
between all workspaces and profiles.
A.2 Build/Install the mangOH Development Package
1. Enter the leaf shell to load the development environment with the most-recently used profile (e.g. the one you
just created). The shell now knows where the development environment components (e.g. Legato, toolchains,
etc.) are located.
$ leaf shell
$ leaf shell
Leaf Shell /bin/bash started in Leaf environment.
(lsh:p1_red76):$
Rev 1 2020-03-01
A.2: Build / Install the mangOH Development Package
Step 2
29
for each profile.
41113734

Advertisement

Table of Contents
loading

Table of Contents