Error buildning red_wp76xx dist


I am trying to setup and use a mangOH Red device. But I get some problems when trying to build the distribution for the module according to the manual: Build the mangOH Distribution.

I get this error when running “make red_wp76xx”:

/home/mangoh/mangOH/apps/BatteryService/batteryComponent/Component.cdef:17:17: error: Couldn’t find file ‘io.api’.
Makefile:86: recipe for target ‘red_wp76xx’ failed

I am using this device type:
Device: WP7607
IMEI: 359779080104652
FSN: VN745385431603
Firmware Version: SWI9X07Y_02.18.05.00 000000 jenkins 2018/07/19 17:40:21
Bootloader Version: SWI9X07Y_02.18.05.00 000000 jenkins 2018/07/19 17:40:21
MCU Version: 002.009
PRI Part Number (PN): 9907327
PRI Revision: 001.003
Carrier PRI Name: GENERIC
Carrier PRI Revision: 002.041_002
SKU: 1103511
Last Reset Cause: Reset, User Requested
Resets Count: Expected: 5 Unexpected: 1

Any idea what it can be? I have been following the manual and done the previous steps.



The battery service was modifed to use the data hub which was introduced in Legato 18.09.0, so you need Legato source at least that new unless you want to start cutting things out of the mangOH.sdef file.