Bitbake meta-layer for Mbed Edge
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


This README file contains information on the contents of the meta-mbed-edge layer.

This meta-mbed-edge layer contains the Mbed Edge recipe.

This recipe does not contain dependecies to any BSP. For building Mbed Edge on Raspberry Pi 3 there is meta-mbed-raspberrypi layer available.

To add the Mbed Edge to your build, insert following line to your local.conf:


The Mbed Edge CMake configuration can be injected withMBED_EDGE_CUSTOM_CMAKE_ARGUMENTS environment variable. The content of the variable is the CMake configuration line to inject. By default -DTARGET_DEVICE=yocto -DTARGET_TOOLCHAIN=yocto is set in the recipe. Please consult the Mbed Edge repository how to configure the Mbed Edge build.


The Mbed Edge is currently tested on top of the morty-version of the Yocto. The following repositories are required for the build:



For Raspberry Pi 3 BSP and Mbed Cloud Client firmware update support:


Adding the meta-mbed-edge layer to your build

In order to use this layer, you need to make the build system aware of it.

Assuming the meta-mbed-edge layer exists at the top-level of your Yocto build tree, you can add it to the build system by adding the location of the meta-mbed-edge layer to bblayers.conf, along with any other layers needed. e.g.:

  BBLAYERS ?= " \
    /path/to/yocto/meta \
    /path/to/yocto/meta-poky \
    /path/to/yocto/meta-openembedded \
    /path/to/yocto/meta-raspberrypi \
    /path/to/yocto/meta-mbed-raspberrypi \
    /path/to/yocto/meta-mbed-edge \

The BSP support for Raspberry Pi 3 is included in the example above.