![]() It is configuring everything that is needed for you to start developing for your target including the toolchain, legato application framework and other development tools. Note Downloading and installing the package may take a few minutes. $ leaf setup wp76stable -p swi-wp76_1.0.0 (downloads and installs the swi-wp761.0.0 package in the wp76stable profile) ![]() The setup command will prepare your directory as a workspace and download, install and configure your workspace with a profile (settings specific to your target and version) preparing you to start developing for your target. Now that you know which package that you want to install on your development machine, the next step is to run leaf setup. $ leaf search wp76 -t latest -v (returns the details of the latest package for the wp76 target)įrom these details you should be able to figure out what package you need to setup for your environment to work with your target. This will list the details of what each package contains including the Release Date, which repo the package is hosted on, and the list of versions of everything that is included in the package. To see exactly what is contained in the package perform a search with a -v flag (verbose). $ leaf search -t wp76xx -t latest (returns the latest packages for the wp76 target) $ leaf search -t latest (returns all the newest/latest published packages for all targets) You are also able to search filter the search results by tag using the -t flag. The search results will return a package identifier (the package name of the package to install), a high level description of what is in the package, and the tags of the package. leaf search -t wp76 will bring back all packages for the wp76 target) Search for a target $ leaf search -t (i.e. It is better to search with filters to bring back a smaller list that will be specific for your environment. Using leaf search with no filters will bring back every package in that repository (it may be a huge list). It is recommended to create a workspace dir and setup leaf packages from within your workspace. Warning You are able to search leaf from anywhere on your computer running leaf setup will add config in the directory that you are currently in. ![]() Now that you have leaf installed, you can now search through that repository to find the packages to install and configure your Development Environment. For this site and tutorials we will be setting up the leaf workspace in $HOME/myWorkspace. Leaf installs tools, images and packages into the ~/.leaf/ directory all configuration is stored in ~/.config/leaf/īefore searching and installing your first SDK it is recommended to make a separate leaf workspace directory to store all of your custom Legato development. Install leaf download and setup our debian package from the Sierra Wireless tools repository: $ wget -O /tmp/leaf_b & sudo apt install /tmp/leaf_b We have also provided alternative install instructions for older Ubuntu Distributions (14.04 and below) and instructions for manually installing from a tarball. Leaf is hosted in the Sierra Wireless debian tools repository, and is provided as a. These tutorials use the packages that have been created for the Legato project as examples. The basic workflow that should be followed to download and setup a development environment for your target. Setup your workspace to start development.Use the built in shell to access the development tools.Setup a remote to point to a package repository.This tutorial will walk you through how to: ![]() Leaf is a workspace manager that will download, install and configure the required software packages for a Legato development environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |