On MangOH red :
Firmware Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
Bootloader Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
legato version 20.04.0_73c525f681f777a978c4e5500b796c47
I use the leaf profile mangoh-red-wp77xx_06.0 package for the cross compilation on my ubuntu 20.04.
I’ve make a simple program to blink the led with de api ledservice ( my .adef )
components:
{
}
executables:
{
wClientExe = ( wClient )
}
start: manual
processes:
{
run:
{
( wClientExe )
}
}
bindings:
{
wClientExe.wClient.ma_led -> ledService.ma_led
}
I’ve make a .sdef to be sure to have the ledservice
#include $LEGATO_ROOT/default.sdef
g any other sections.
buildVars:
{
// Define a base directory for your project.
MY_SYSTEM_DIR = $CURDIR
}
interfaceSearch:
{
// Your project's search paths.
${MY_SYSTEM_DIR}/interfaces
// Legato API search paths.
${LEGATO_ROOT}/interfaces
${LEGATO_ROOT}/interfaces/airVantage
${LEGATO_ROOT}/interfaces/atServices
${LEGATO_ROOT}/interfaces/logDaemon
${LEGATO_ROOT}/interfaces/modemServices
${LEGATO_ROOT}/interfaces/portService
${LEGATO_ROOT}/interfaces/positioning
${LEGATO_ROOT}/interfaces/secureStorage
${LEGATO_ROOT}/interfaces/wifi
}
appSearch:
{
${MY_SYSTEM_DIR}/apps
${MY_SYSTEM_DIR}/mangOH/apps/LedService/
}
// Directories where components are searched.
componentSearch:
{
${MY_SYSTEM_DIR}/components
}
moduleSearch:
{
${MY_SYSTEM_DIR}/modules
}
apps:
{
wClient
ledService
}
But my program have lots errors when i start it
When i remove the led api, it work fine
The problem seems to be that the ma_led not present, the sdir list | grep ma_led
return
wClient.wClientExe.wClient.ma_led -> <root>.ma_led
[pid 1734] wClient.wClientExe.wClient.ma_led WAITING for <root>.ma_led (protocol ID = '3dd2be270c89a5a489f7b63c8ff381b3')
So where my problem ?
Thanks