# Leaf packages for yellow

**URL:** <https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979>\
**Category:** mangOH Yellow\
**Created:** [October 12, 2019, 12:23am UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979 "2019-10-12T00:23:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [October 12, 2019, 12:23am UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/1 "2019-10-12T00:23:12Z")

</div>

All,

You can find leaf packages for yellow here:

leaf remote add mangOH [https://downloads.sierrawireless.com/mangOH/leaf/mangOH-yellow.json](https://downloads.sierrawireless.com/mangOH/leaf/mangOH-yellow.json) --insecure

---

<div class="post-metadata">

**Author:** ![epastor](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@epastor](https://mangoh.discourse.group/u/epastor)\
**Post date:** [October 12, 2019, 2:47pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/2 "2019-10-12T14:47:18Z")

</div>

Thanks, we will try and let you know.

---

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [October 14, 2019, 2:55pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/3 "2019-10-14T14:55:27Z")

</div>

Hello Ashish

I have download the package for yellow but when I try to compile I have the following error

make[1]: Entering directory ‘/home/mangoh/mangOH/build/yellow\_wp77xx/modules/cypwifi’  
Building modules, stage 2.  
MODPOST 4 modules  
make[1]: Leaving directory ‘/home/mangoh/mangOH/build/yellow\_wp77xx/modules/cypwifi’  
TOOLCHAIN\_DIR=/opt/swi/y22-ext-wp77xx/sysroots/x86\_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi   
TOOLCHAIN\_PREFIX=arm-poky-linux-gnueabi-   
MANGOH\_BOARD=yellow   
mksys -t wp77xx --object-dir=build/yellow\_wp77xx --output-dir=build/update\_files/yellow mangOH.sdef  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* Warning: Ignoring empty app specification  
\*\* ERROR:  
/home/mangoh/mangOH/components/boschBme680Driver/Component.cdef:15:13: error: Unexpected subsection name ‘headerDir’ in ‘provides’ section.  
Makefile:136: recipe for target ‘yellow\_wp77xx’ failed  
make: \*\*\* [yellow\_wp77xx] Error 1

With make red\_wp77XX I get the binary OK

What´s the problem?

Thanks  
Isabel

---

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [October 14, 2019, 3:36pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/4 "2019-10-14T15:36:33Z")

</div>

Ashish  
This is the leaf package I have installed. It´s the latest i have seen for wp77  
leaf setup -p swi-wp77\_3.0.1 wp77\_r12\_19.07.1

Isabel

---

<div class="post-metadata">

**Author:** ![jchitty](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jchitty/32/846_2.png) [@jchitty](https://mangoh.discourse.group/u/jchitty)\
**Post date:** [October 15, 2019, 9:17pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/5 "2019-10-15T21:17:28Z")

</div>

Start by [installing leaf](https://docs.legato.io/latest/toolsLeaf.html), if you haven’t already, and add the mangOH Yellow leaf “remote” repository URL to your leaf configuration as @asyal mentioned above (and I’ll now repeat):

```auto
leaf remote add mangOH https://downloads.sierrawireless.com/mangOH/leaf/mangOH-yellow.json --insecure

```

You only have to do that once, and future releases that we post there will automatically become available to you and appear when you search for mangOH packages.

> **note:** Don’t be alarmed by the `--insecure` option to the `leaf remote add` command. That just tells leaf not to use GPG to verify the integrity of the downloaded files. TLS is still being used to “secure” the download connection.

To “search” for the latest mangOH leaf packages:

```auto
$ leaf search -t mangOH
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 1 package - Filter: only master and +mangOH │
├────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────┤
│ Identifier │ Description │ Tags │
╞════════════════════════════╪══════════════════════════════════════════════════════════════════════════════════════════╪══════════════════════════════════════════════╡
│ mangOH-yellow-wp77xx_0.2.3 │ SDK for mangOH yellow with wp77xx, based on Legato version 19.07.0 and wp77xx release 12 │ latest,installed,mangOH,yellow,wp77xx,Octave │
└────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────┘

```

To set up the current directory as a workspace for mangOH yellow development:

1. Make it a leaf workspace, configured with the mangOH Yellow development package:  
`$ leaf setup -p mangOH-yellow-wp77xx_0.2.3`
2. Clone the mangOH source code into it:  
`$ git clone --recursive https://github.com/mangOH/mangOH`
3. Download a copy of the Bosch Bsec library (which is needed by the environmental sensor app) and unpack it under `mangOH/components/boschBsec`:  
`$ cd mangOH/components/boschBsec`  
`$ wget https://community.bosch-sensortec.com/varuj77995/attachments/varuj77995/bst_community-mems-forum/44/1/BSEC_1.4.7.2_GCC_CortexA7_20190225.zip`  
`$ unzip BSEC_1.4.7.2_GCC_CortexA7_20190225.zip`

Now you’ve got everything you need onto your PC, but before you run the build, you need to set up your shell environment correctly. You can do this by entering the leaf shell:  
`$ leaf shell`  
This will automatically configure your shell to know where your Legato, toolchain, etc. are all located.

Now you’re ready to build. Change directory to the root of the mangOH directory and run  
`$ make yellow`

---

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [October 16, 2019, 3:20pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/6 "2019-10-16T15:20:06Z")

</div>

Hello Jchitty

Thank you. Now I can make yelllow\_wp77XX following yor instrucctions but when download the application in the board MangoYellow chrash 2 .

Then I have updated the firmware of Yellow with the latest in the source.

The MangOH Yellow starts with Octave after updatIing the firmware. I think my board is blocked in some way to work only with Octave . I received the board with the giveaway.

Could you confirm this? I need to do a demo with MangOH Yellow sending data to Orange platform “OBJECT LIVES” and using Orange SIM. I need to know if i need a Mango Yellow board not blocked to use Octave.

"Device: WP7702  
IMEI: 352653090153388  
IMEISV: 4  
FSN: VU911670271210  
Firmware Version: SWI9X06Y\_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21  
Bootloader Version: SWI9X06Y\_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21  
MCU Version: 002.013  
PRI Part Number (PN): 9907365  
PRI Revision: 001.006  
Carrier PRI Name: GENERIC  
Carrier PRI Revision: 001.055\_000  
SKU: 1103530  
Last Reset Cause: Crash  
Resets Count: Expected: 73 Unexpected: 4  
Device: WP7702  
IMEI: 352653090153388  
IMEISV: 4  
FSN: VU911670271210

Thanks  
Isabel

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [October 16, 2019, 10:51pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/7 "2019-10-16T22:51:31Z")

</div>

You could always remove the octave apps on the sdef, add your own mqttt library and connect to Orange.

---

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [October 21, 2019, 4:47pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/8 "2019-10-21T16:47:22Z")

</div>

Hello Asyal, Jchitty,  
I´m trying to build “Orange starter kit” with Mango Yellow leaf pakage but I have the 3 errors you can see in the screen shots.  
I have added the path to the API but I´m still have the error.  
I can compile other samples without issue

Here the link “Orange starter kit” example I need to build with the mango Yellow.

> **[OrangeStarterKit.zip](https://wetransfer.com/downloads/0147be77da2d536ab8663d3ed089c97020191021155836/272746f1e38f42a5e26b7971b42bb3af20191021155836/774197?https%3A%2F%2Fwetransfer.com%2Fdownloads%2F0147be77da2d536ab8663d3ed089c97020191021155836%2F272746f1e38f42a5e26b7971b42bb3af20191021155836%2F774197%3Futm_campaign=WT_email_tracking&utm_content=general&utm_medium=download_button&utm_source=notify_recipient_email)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

I follow this guide to import it.

> **[mangOH® Red: the smallest mangOH platform supports 10 years battery lifetime](https://mangoh.io/mangoh-red-orange)**
>
> Build low-power IoT applications that can run for 10 years on a battery with the newest and smallest mangOH platform and send your IoT sensor data to the cloud.

  
Then I use developer studio to build it. I have added the latest Yellow version of tool chain and franewaork to Developer studio and I can build other examples without issue.  
Attach the screen shots.  
Could you help me to build Orange starter kit for Mango Yellow?  
Thanks  
Isabel

---

<div class="post-metadata">

**Author:** ![Larumbe2019](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@Larumbe2019](https://mangoh.discourse.group/u/Larumbe2019)\
**Post date:** [October 21, 2019, 4:52pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/9 "2019-10-21T16:52:17Z")

</div>

Hello

Here you have the errors I have and the framework used

> **[Building error- Orange Starter kit.jpg](https://wetransfer.com/downloads/9ef825f693cebbba17de68a0ba73f9a220191021165126/4331f1)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

> **[Legato Framework.jpg](https://wetransfer.com/downloads/4e005454f9dc20a48c2de1fbddaea21320191021164933/cade00)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

Thanks  
Isable

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [June 22, 2020, 9:30pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/10 "2020-06-22T21:30:06Z")

</div>

Hope you can point a light my way…

I’ve been in a seemingly infinite loop of downloads, environment settings and configuration tweaks.

I’m trying to get a VScode-Legato-Leaf development environment setup (in a Ubuntu 18.04 VM) for MangOH Yellow and between Legato, Leaf, VScode and Gerrit logins and downloads - I feel farther away from completion than I did 3 days ago.

Is there any definitive Guide to setting up a build environment such that I can 1st build a minor update/tweak to the base Yellow app and then incorporate an RS485 IoT module to this same platform?

…Do I need Legato sources?  
why do I get: “[mikebp@gerrit.legato.io](mailto:mikebp@gerrit.legato.io): Permission denied (publickey)”  
…how do you upload/add your (new) ssh key to [gerrit.legato.io](http://gerrit.legato.io) ? …is it necessary?  
…is swi\_wp77\_1.10.0 the correct Leaf package or should I be using 3.0.0 stable or even 3.4.0 latest?  
…should one use an existing profile in myWorkspace/mangOH ??

It seems there is a lot of overlap and redundancies. Having zero experience with Legato, Leaf and the SW IDE structure - I’m totally befuddled.

Help!  
mike

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [June 25, 2020, 11:34pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/11 "2020-06-25T23:34:38Z")

</div>

> [@mpetersen](#):
>
> …Do I need Legato sources?  
> why do I get: “[mikebp@gerrit.legato.io](mailto:mikebp@gerrit.legato.io): Permission denied (publickey)”  
> …how do you upload/add your (new) ssh key to [gerrit.legato.io](http://gerrit.legato.io) ? …is it necessary?  
> …is swi\_wp77\_1.10.0 the correct Leaf package or should I be using 3.0.0 stable or even 3.4.0 latest?  
> …should one use an existing profile in myWorkspace/mangOH ??
> 
> It seems there is a lot of overlap and redundancies. Having zero experience with Legato, Leaf and the SW IDE structure - I’m totally befuddled.

Have you reviewed this page: [Building the Legato "system" (apps) for mangOH Yellow · mangOH/mangOH Wiki · GitHub](https://github.com/mangOH/mangOH/wiki/Building-the-Legato-%22system%22-(apps)-for-mangOH-Yellow)

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [June 26, 2020, 1:58pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/12 "2020-06-26T13:58:22Z")

</div>

Is this the same process for Leaf with VScode?

If not, what is different?

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [June 26, 2020, 3:43pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/13 "2020-06-26T15:43:34Z")

</div>

Ashish,  
The wiki helped. THANK YOU!

I first stripped out all old mangOH and Legato tools & environment (from old Red development 18-20months ago) and using the Wiki link was able to install and build. 👍

Installing and incorporating into VScode now…

Mike

---

<div class="post-metadata">

**Author:** ![awneil](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/awneil/32/486_2.png) [@awneil](https://mangoh.discourse.group/u/awneil)\
**Post date:** [May 19, 2021, 1:09pm UTC](https://mangoh.discourse.group/t/leaf-packages-for-yellow/2979/14 "2021-05-19T13:09:27Z")

</div>

Waking up this old thread as I’m now also looking to get set up with VSCode…

The referenced Wiki is all command-line - should it be possible to do this within VSCode?
