# meta-mbed-raspberrypi **Repository Path**: mirrors_ARMmbed/meta-mbed-raspberrypi ## Basic Information - **Project Name**: meta-mbed-raspberrypi - **Description**: This project has been deprecated, please refer to https://github.com/PelionIoT/meta-pelion-edge for the Yocto recipes or meta layers of Pelion Edge. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # meta-mbed-raspberrypi This README file contains information on the contents of the `meta-mbed-raspberrypi` layer. The `meta-mbed-raspberrypi` layer contains `mbed_sdcard_image-rpi-class` that can be used to build an SD-card image capable of firmware update through Mbed Cloud Client. In practice this means an image with additional partitions and `u-boot` bootloader. To use this layer, add following lines to your `local.conf`-file: ``` MACHINE = "mbed-rpi3" RPI_USE_U_BOOT = "1" #ENABLE_UART is strictly not necessary, but can help with debugging issues. ENABLE_UART="1" #Mbed Edge and protocol translator examples use systemd, it is enabled with these DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" VIRTUAL-RUNTIME_initscripts = "" IMAGE_INSTALL_append = " connman" ``` To enable the bluetooth features, add following lines to your `local.conf`-file: ``` DISTRO_FEATURES_append += " bluetooth " CORE_IMAGE_EXTRA_INSTALL += " ${MACHINE_EXTRA_RRECOMMENDS} " ``` `${MACHINE_EXTRA_RRECOMMENDS}` contains the Broadcom firmware packages. # Dependencies The Mbed Edge on Raspberry Pi 3 is currently tested on top of the `sumo`-version of the Yocto and with this layer. The following repositories are required to build an image with Raspberry Pi 3 support: [poky](https://git.yoctoproject.org/cgit/cgit.cgi/poky/) [meta-openembedded](http://cgit.openembedded.org/meta-openembedded/) [meta-raspberrypi](https://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/) # Adding the `meta-mbed-raspberrypi` layer to your build In order to use this layer, you need to make the build system aware of it. Assuming the `meta-mbed-raspberrypi` 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-raspberrypi` 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 \ " ```