Hi,
We are using wp7502 module. When we try update command in terminal it is working without any errors.But when we tried to use it in code using system command it is showing “update not found”.Can u help me to resolve this issue.
thanks and regards,
Sahithi
If you want to use update from a system command you either need to execute configlegatoenv or add these entries to your PATH manually.
Otherwise you can use a full path to the update command.
~/legato_framework/legato/bin/update
EDIT:
Nevermind. I realised you are talking about executing update from on the WP7502.
The concept is the same, your terminal knows where update is, the system command does not.
Either add /mnt/legato/system/bin to your PATH or use the full path /mnt/legato/system/bin/update