Skip to content

teslabs/zds-2022-drivers-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f55d452 · May 19, 2024

History

16 Commits
Apr 5, 2024
May 19, 2024
May 19, 2024
May 19, 2024
May 26, 2022
May 26, 2022
May 26, 2022
May 26, 2022
May 26, 2022
Apr 10, 2024
May 26, 2022
May 26, 2022
Apr 5, 2024
May 26, 2022

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