THE BOARD JOURNAL
FIELD NOTES / ZEPHYR RTOS

Small boards. Careful beginnings.

Notes on reading hardware descriptions, choosing software features, and getting a Zephyr application off the ground.

A map of the board

Devicetree describes hardware and its boot-time settings: peripherals, addresses, interrupts, and their relationships. Start with the board definition, then use an application overlay for the hardware choices specific to your project.

Read the Zephyr documentation ↗

Choose what goes into the image

Kconfig selects software capabilities. A useful separation is to put hardware descriptions in devicetree and software feature selections in configuration. Enabling a peripheral and including its driver are related decisions, but they live in different parts of the build.

Read the Zephyr documentation ↗

Read the generated result

When a peripheral does not appear as expected, inspect build/zephyr/zephyr.dts. This is the resolved devicetree after the build has applied its inputs. Check the node, its status, and the binding name before changing application code.

Read the Zephyr documentation ↗

About this notebook

A small collection of embedded-systems study notes. These examples are starting points for exploration; check the documentation for your Zephyr release and board.