Leaf packages for yellow

All,

You can find leaf packages for yellow here:

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

Thanks, we will try and let you know.

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

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

Start by installing leaf, 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):

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:

$ 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

2 Likes

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

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

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.

I follow this guide to import it.


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

Hello

Here you have the errors I have and the framework used

Thanks
Isable

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: Permission denied (publickey)โ€
โ€ฆhow do you upload/add your (new) ssh key to 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

Have you reviewed this page: Building the Legato "system" (apps) for mangOH Yellow ยท mangOH/mangOH Wiki ยท GitHub

Is this the same process for Leaf with VScode?

If not, what is different?

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. :+1:

Installing and incorporating into VScode nowโ€ฆ

Mike

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?