Skip to content

teslabs/zds-2022-drivers-app

Repository files navigation

Mastering Zephyr Driver Development

This repository contains the code for the Mastering Zephyr Driver Development talk given at Zephyr Developer Summit 2022.

The application is a prototype of a smart lock. It allows to open/close a lock by both using a fingerprint reader and BLE. It is based on the official example-application and it tries to illustrate the most relevant concepts used when developing Zephyr drivers.

Video

zds-2022-app-demo.mp4

Getting Started

Before getting started, make sure you have a proper Zephyr development environment. You can follow the official Zephyr Getting Started Guide.

Initialization

The first step is to initialize the workspace folder where the zds-2022-drivers-app and needed Zephyr modules will be cloned. You can do that by running:

# initialize workspace for the zds-2022-drivers-app (main branch)
west init -m https://github.com/teslabs/zds-2022-drivers-app --mr main zds-2022-drivers-app
# update Zephyr modules
cd zds-2022-drivers-app
west update

Build & Run

The application can be built by running:

west build -b nrf52840dk/nrf52840 -s app

Note that any other board may be used if an appropriate overlay is provided (see app/boards).

Once you have built the application you can flash it by running:

west flash

About

Mastering Zephyr Driver Development (Sample Application)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published