Trying out sample app RedSensorToCloud on MangoH red for wp7608
with SDK for WP76 (Release 13.3 + Legato 20.04.0)
while mkapp following error popping up
myWorkspace/apps/RedSensorToCloud/components/avPublisher/Component.cdef:6:17: error: Couldn’t find file ‘io.api’.
in my legatoAF I can locate io.api at apps/sample/datahub
1.Install the toolchain by
sh poky-swi-ext-glibc-x86_64-meta-toolchain-swi-armv7a-neon-toolchain-swi-SWI9X07Y_02.28.03.05.sh
Build the legato framework
cd /home/owner/legato/packages/legato.framework.19.2.0.wp76xx-201906171244/resources/legato
make clean
. bin/configlegatoenv
make wp76xx
source ./build/wp76xx/config.sh
download the mangOH source:
cd /home/owner/Downloads/mangOH-master/
git clone --recursive git://github.com/mangOH/mangOH
cd mangOH
open the shared.sdef, and comment out this line:
//#include “${LEGATO_ROOT}/modules/WiFi/wifi.sinc”