/zds-2022-drivers

Mastering Zephyr Driver Development

Primary LanguageTeXCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Mastering Zephyr Driver Development

build pdf

This repository contains the slides for the "Mastering Zephyr Driver Development" talk given at the Zephyr Development Summit 2022. The presentation goes through multiple topics related to Zephyr driver development by implementing a "smart lock" firmware.

Video

zds-2022-app-demo.mp4

Topics covered in the presentation include:

  • Introduction to Zephyr device model
  • Implementation of a sensor driver (JM-101 fingerprint sensor)
  • Definition of a custom API to control locks
  • Implementation of a lock driver (servo-driven lock)

Source code for the firmware is available at: https://github.com/teslabs/zds-2022-drivers-app

Build

The slides are written using the beamer LaTeX class. They can be built by running:

make

Build files can be cleaned by running:

make clean

Lint and format

Slides can be linted for errors by running:

make lint

Additionally, slides can be automatically formatted using:

make fmt