I just tried the following and no problem is found:
owner@CNHKG-EX-001367:~/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato$ make wp85
So I think you can modify /legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/system.sdef and put your application into it to build.
Hi @jyijyi, I have managed to make wp85 with the changed system.sdef as suggested. This seems to create a rather small cwe file in the build/wp85 folder. It is only 2.5Mb as opposed to the 55MB 'mcu-rmfw-boot-yocto-legato_wp85.cwe' file I have been using. How to there two files compare?
Are there extra steps for creating the full cwe image I download to the modem?
That should be fine. Can I include an updated startlegato.sh file in my apps cwe file? Or does that need to be part of the larger cwe?
I am basically trying to create a roll back image for for device. Too make sure it always has my app and config on it, so that I can contact it if it resets itself.