mangOH red_wp7608 make fails in legato

I am using mangOH red_wp7608 board and trying to setup legato development environment in a ubuntu machine by following steps given in http://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Discover/Getting%20Started/mangOH_Red_GSG_(Linux).pdf document. However, I am facing an issue while executing the command “Legato=1 make red_wp76xx”. The error message says “Unexpected subsection name ‘headerDir’ in ‘provides’ section of $MANGOH_ROOT/apps/DataHub/components/json/Component.cdef file”. Could any one please assist me on this?

how about making your /apps/DataHub/components/json/Component.cdef to be the following?

cflags:
{
    -std=c99
}

sources:
{
    json.c
}
1 Like