Coder Social home page Coder Social logo

tory-home / meta-mbed-edge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pelioniot/meta-mbed-edge

0.0 0.0 0.0 29 KB

Bitbake meta-layer for Mbed Edge

License: Apache License 2.0

Shell 1.91% BitBake 40.46% C 22.07% CMake 18.33% C++ 17.23%

meta-mbed-edge's Introduction

meta-mbed-edge

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

This meta-mbed-edge layer contains the Mbed Edge and Mbed Edge protocol translator example recipes.

This recipe does not contain dependecies to any BSP. For building Mbed Edge on Raspberry Pi 3 or Texas Instruments AM437x there exists separate BSP-layers. See the dependencies section of this README for further information.

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

IMAGE_INSTALL += " virtual/mbed-edge mbed-edge-examples "

The Mbed Edge CMake configuration can be injected with MBED_EDGE_CUSTOM_CMAKE_ARGUMENTS environment variable. The content of the variable is the CMake configuration line to inject. Please note that the MBED_EDGE_CUSTOM_CMAKE_ARGUMENTS needs to be listed in the BB_ENV_EXTRAWHITE environment, otherwise it will not have effect in the build.

Please consult the Mbed Edge repository how to configure the Mbed Edge build and check the recipes-connectivity/mbed-edge/files-folder for the configuration files.

If the protocol translator examples are installed image, please note that the bluetooth needs to be enabled and the firmware for the bluetooth chip needs to be installed. On the Raspberry Pi this can be done by adding following lines to the local.conf:

DISTRO_FEATURES_append += " bluetooth "

CORE_IMAGE_EXTRA_INSTALL += " linux-firmware-bcm43430 linux-firmware-bcm43430a1-hcd "

Dependencies

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

poky

meta-openembedded

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

meta-mbed-raspberrypi

For Texas Instruments AM437x BSP and Mbed Cloud Client firmware update support:

meta-mbed-am437x

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/meta-oe \
    /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.

meta-mbed-edge's People

Contributors

esajaa avatar jjaakola-arm avatar geirsandearm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.