TipsAndTricks/BuildingZephyrImages

From Yocto Project
Revision as of 01:40, 9 February 2017 by Henry Bruce (talk | contribs) (Created page with "== Introduction == Yocto offers an alternative way of building [https://www.zephyrproject.org/ Zephyr Project] images by using the [http://git.yoctoproject.org/cgit/cgit.cgi/m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

Yocto offers an alternative way of building Zephyr Project images by using the meta-zephyr layer.

Configuration

You'll need to install the following additional package python3-pexpect. If you're going to using the Arduino 101 board, you'll also need dfu-util.

Checkout the meta-zephyr layer

git clone git://git.yoctoproject.org/meta-zephyr

The layer supports morty and master branches and is dependent on the equivalent poky branch.

Building Qemu Image

Here are the steps. We'll use the morty branch for stability.

$ git clone -b morty git://git.yoctoproject.org/poky
$ git clone -b morty git://git.yoctoproject.org/meta-zephyr
$ source poky/oe-init-build-env
$ bitbake-layers add-layer ../meta-zephyr