© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. EliaszZephyr RTOS Embedded C Programminghttps://doi.org/10.1007/979-8-8688-0107-5_9

9. Understanding andWorking with theDevicetree in General and SPI and I2C in Particular

Andrew Eliasz1  
(1)
First Technology Transfer, Croydon, Surrey, UK
 

When developing applications involving a custom board, or adding peripherals such as I2C or SPI peripherals to an existing board, an understanding of the Zephyr devicetree and how it is used in application development is required.

The devicetree concept as used in Zephyr has its origins in Linux, where the main purpose of the devicetree was to provide a means of describing nondiscoverable hardware, namely, hardware that ...

Get Zephyr RTOS Embedded C Programming: Using Embedded RTOS POSIX API now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.