Can we build a system with Developer Studio?


#1

We can use DS to build apps but can we get rid of the effort using command line by using DS?


#2

Hi,
Do you mean in DS 5.2, File-> New -> legato system ?


#3

Hi @jyijyi. What I meant was building a bundle of applications maybe with some other dependent code for kernal building or whatever. It’s what they call a “system”. It can be built with “mksys” and installed with “instsys”. I was looking for a graphical way in DS to do this rather than in command line.


#4

I tried with DS 5.2, File-> New -> legato system, and build the sample system wifisystem, I can see it is using mksys to build.
Please see below:


make -I /home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato all
cd …;mksys -C “-DPCM_IF=“AUX”” -C “-DI2S_IF=“PRI”” -C “-DUSB_IF=“AFE_PCM”” -C “-DCODEC_IF=“PRI”” -C "-DMM_1_ALSA_MIXER_CTRL=“MultiMedia1"” -C “-DMM_1_ALSA_PCM_DEVICE_ID=0” -C "-DMM_2_ALSA_MIXER_CTRL=“MultiMedia2"” -C “-DMM_2_ALSA_PCM_DEVICE_ID=1” -C “-DADC_BEGIN_NUM=0” -C “-DADC_COUNT=4” -t wp85 -o Target_Legato_Debug -w Target_Legato_Debug -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/secureStorage” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/logDaemon” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/atServices” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/airVantage” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/modemServices” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/wifi” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/positioning” -i “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/interfaces/supervisor” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/fwupdate/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/modules/WiFi/service” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/airVantage/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/airVantage” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/fwupdate” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/modules/WiFi/apps/tools/wifi” -s “…/redSensorToCloud” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/positioning/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/apps/platformServices/airVantage” -s “…/hello_world” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/positioning” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/devMode” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/secStore/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/secStore” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/uartMode/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/modemServices/platformAdaptor/default” -s “…/lwm2mAirVantageControl” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/atServices” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/modemServices” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/uartMode” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/components/audio/platformAdaptor/default” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/apps/platformServices” -s “/home/owner/legato/packages/legato.framework.16.10.3.wp85-wp750x-201705031608/resources/legato/apps/tools” -C -g -X -g -L -g wifisystem.sdef


#5

Ahh that’s it. Thanks.