Skip to content
/ zephyr-template Public template

An out-of-tree Zephyr application template.

Notifications You must be signed in to change notification settings

redwirelabs/zephyr-template

Repository files navigation

A Zephyr Application Template

An out-of-tree Zephyr application template.

Getting started

The following prerequisites are required for building and flashing onto a board target.

Prerequisites

Ensure the following dependencies are installed on the host system:

Install Zephyr dependencies using asdf.

asdf plugin add zephyr https://github.com/redwirelabs/asdf-zephyr.git
asdf plugin add zephyr-sdk https://github.com/redwirelabs/asdf-zephyr-sdk.git
asdf install

Create the project's .envrc. See .envrc.example for more details.

cp .envrc.example .envrc

Building

west build

Flashing

west flash

Emulating (QEMU)

$ west build -t run

[0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: qemu32,+nx,+pae
SeaBIOS (version zephyr-v1.0.0-0-g31d4e0e-dirty-20200714_234759-fv-az50-zephyr)
Booting from ROM..
*** Booting Zephyr OS build v3.7.0 ***
[00:00:00.010,000] <inf> main: Hello world from qemu_x86/atom

About

An out-of-tree Zephyr application template.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published