I re-install ubuntu 18 and 20 but not resolve this issue yet.
For ubuntu 18, I saw “mkapp: command not found” issue.
For ubuntu 20, I saw above error by “make wp76xx”.
For ubuntu 14/16, I cannot install leaf tool.
Which is better solution for these behavior. I cannot explain this solution to our customer.
For ubuntu 18, can you " make clean" and “make wp76xx”?
In ubuntu 18, is there any mkapp problem on swi-wp76_4.7.0?
The following is my result on ubuntu 18.
(lsh) mangoh@mangoh-FMVWXU1N1:~/.leaf/wp76-legato_19.02.0-201903211732$ make clean
modules/WiFi/moduleDefs:12: Legato WiFi version is undefined…
Cleaning…
CLEAN
(lsh) mangoh@mangoh-FMVWXU1N1:~/.leaf/wp76-legato_19.02.0-201903211732$ make wp76xx
Building Legato for target ‘wp76xx’
Makefile:126: build/wp76xx/.config.mk: No such file or directory
modules/WiFi/moduleDefs:12: Legato WiFi version is undefined…
Makefile:238: *** Unable to find toolchain for target ‘wp76xx’. Stop.
When I used swi-wp76_4.7.0, I can succeed mkapp correctly.
But our customer environment is wp76_4.0.3 because customer is using WP7605 module.
I don’t see problem to “make wp76xx” with SDK swi_wp76_4.0.3.
I can compile out the legato.cwe.
BTW, it seems your environment cannot find the toolchain, what is the return on this ?
(lsh:WP76_stable) owner@CNHKG-EX-001367:~/LEAF/WP76/leaf-data/WP76_stable/wp76-legato$ export | grep WP76XX_TOOLCHAIN
declare -x WP76XX_TOOLCHAIN_DIR="/home/owner/LEAF/WP76/leaf-data/WP76_stable/wp76-toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi"
declare -x WP76XX_TOOLCHAIN_PREFIX="arm-poky-linux-gnueabi-"
Currently, customer and I can compile it on ubuntu20 with SDK swi_wp76_4.0.3.
For my environment, I sent “export | grep WP76XX_TOOLCHAIN”. There is no return. Should I install tool chain?
Note: I think that leaf shell is including tool chain for target module.
when I download and install the SDK in VSCode, it will install everything including toolchain for me.
Did you solve this? We achieved running script(s) at boot up by deploying an “autoexec” application. The ADEF says to autostart; there are multiple processes (one per sh script); they all run in parallel. When they have all finished the application “stops”. This way, you don’t need to alter Legato. We even achieved crontab entries by having one of the scripts load a file (from the application) into crontab. Again… without altering Legato (or Linux).