Hi, I am very new to mangOH and legato based development, I have started off just a week ago.
Existing system:
I have installed legato17-08.1 on my host (linux - ubuntu16.04 LTS) computer, used a zip, did not clone.
I have installed latest toolchain (Release 14) from here
I have installed legato application developer studio version 5.2.
I have a mangOH Green board with me, it has a WP8548 chip on it and I have tested it with helloWorld program that I built and deployed on the device using legato application developer studio version 5.2.
I am aware of the process of running âbin/legsâ everytime I open a terminal for supporting commands related to legato.
I have set the environment variable LEGATO_ROOT to the directory where I have installed legato-17.08.1
Hi, thanks for responding. The solution that you suggested does make sense, but I have already built the legato using âmake cleanâ and âmake wp85â commands when I installed legato.
After I posted this question, I tried putting the example apps (received as .zip from git and then unzipped) in $LEGATO_ROOT/bin/apps/sample/ and then make command (make wp85) worked as it should.
Is that a constraint (Possibly due to some error I made while installation of legato) I am dealing with that I have to put the projects into the LEGATO_ROOT/apps/sample/ or it has always been the way to do it?
Itâs a bit confusing, but you have to run make wp85 from the legato folder first. Then you do source bin/configlegatoenv to put the legato build tools into your $PATH. Once you have done that, you either run make red_wp85 or make green_wp85 from the mangOH folder. This builds a legato system that includes the mangOH apps and drivers.
Hello, I have been a couple of days setting this up, I decided to get a clean install of Ubuntu and followed the tutorials since the precompiled image did not work for me.
I have followed all instructions to the letter except last part of step 7 (l) in setting up legato since the module Iâm using is a wp76. Now the problem is when running the make red_wp76 after it builds it gives me this message:
ninja: build stopped: subcommand failed.
Makefile.framework:147 recipe for target âliblegatoâ failed
make[2]: *** [liblegato] Error 1
make[2]: Leaving directory â/home/pedro/legato_framework/legatoâ
Makefile:376: recipe for target âframework_wp76xxâ failed
make[1]: *** [framework_wp76xx] Error 2
make[1]: Leaving directory â/home/pedro/legato_framework/legatoâ
Makefile:34: recipe for target âlegato_wp76xxâ failed
make: *** [legato_wp76xx] Error 2
Any help on this would be appreciated, I donât think I have missed anything in the tutorials so I donât really know whats going wrong the board I have is the MangOH_Red WP7607G.
Thanks in advance.
Hello, Iâm still having problems when using the âmake red_wp76xxâ this is the 5th time I run through the tutorial in a brand new Linux system the error seems to be different this time.
** ERROR:
/home/pedro/legato_framework/legato/drivers/spisvc/spisvc.mdef: error: â/opt/swi/y22-ext/sysroots/armv7a-neon-poky-linux-gnueabi/usr/src/kernelâ is not a valid kernel source directory.
Makefile:82: recipe for target âred_wp76xxâ failed
make: *** [red_wp76xx] Error 1
please i need some help with this I have been trying to make the board work for over a week now with no success Iâm attaching the entire output here: Error_when_make_red_wp76xx (18.3 KB)
Iâm also having problems with âmakefileâ when using a WP76 chip and the mangOH Green.
I tried both âmake wp76â and âmake green_wp76â but both donât seem to work:
Then I checked the path and saw that there were only the following folders: âtoolsâ and âwp76xxâ so I decided to run âmake wp76xxâ but this also doesnât work.