Skip to content
Yocto layer for realsense-sdk and librealsense
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
include
recipes-devtools/python
recipes-kernel/linux
recipes-support
LICENSE Import from https://github.com/IntelRealSense/meta-intel-librealsense… Feb 8, 2017
readme.md

readme.md

Yocto Layer for librealsense

This layer adds the packages necessary for adding support for Intel® RealSense™ cameras via librealsense to your Yocto distribution.

Dependencies

This layer depends on packages provided by the following layers:

Usage

Yocto Poky

  1. Checkout the branch which corresponds with your version of Yocto
  2. Add the meta-intel-realsense layer to conf/bblayers.conf in your build directory
    BBLAYERS += "path/to/meta-intel-realsense"
  1. Add dependency layers to conf/bblayers.conf in your build directory
    BBLAYERS += "path/to/meta-openembedded/meta-oe"
  1. Create a new conf/auto.conf file in your build directory with the following contents
    require include/intel-librealsense.inc
  1. Include librealsense in your image by adding the following to conf/auto.conf
    CORE_IMAGE_EXTRA_INSTALL += "librealsense2 librealsense2-tools"

    # Optional
    CORE_IMAGE_EXTRA_INSTALL += "librealsense2-debug-tools"

Samples

To include sample apps in your image add the following to conf/auto.conf

    CORE_IMAGE_EXTRA_INSTALL += "librealsense2-examples"

If you are building an image with a graphical desktop you can also add the following

    CORE_IMAGE_EXTRA_INSTALL += "librealsense2-graphical-examples"

Python

To include Python support in your image include the following in your conf/auto.conf

    # Python 2.x
    CORE_IMAGE_EXTRA_INSTALL += "python-pyrealsense2"

    # Python 3.x
    CORE_IMAGE_EXTRA_INSTALL += "python3-pyrealsense2"

License

This project is Copyright (C) 2015 Intel Corporation. Please see the LICENSE file for more information.

You can’t perform that action at this time.