- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
Zephyr RTOS Cookbook delivers hands-on recipes for tackling real-world challenges in portable, scalable Zephyr application development
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
Key Features
Build and organize Zephyr applications using West to enable clean, reproducible, multi-repo workflows
Configure features with Kconfig and describe hardware with DeviceTree
Develop portable, scalable systems for industrial and IoT devices using Zephyr subsystems and the device driver model
Book DescriptionAdopting Zephyr RTOS can feel very different from working with bare-metal systems, traditional RTOSes, or embedded Linux. Instead of tightly coupled board-specific code, Zephyr follows a platform-oriented approach built around reusable components, standardized subsystems, and configuration-driven behavior. This shift can be unfamiliar at first, especially for developers moving to Zephyr for real-world products.
Zephyr RTOS Cookbook is a recipe-led guide designed to help you make that transition with confidence. Rather than treating Zephyr as just a kernel, the book shows how to work with it as a complete platform. You'll learn how to structure projects using West-managed, multi-repo workspaces, enable and customize system features with Kconfig, and describe hardware cleanly using DeviceTree to keep applications portable across boards.
Each recipe focuses on a practical task you'll encounter when building Zephyr-based systems, from integrating drivers and subsystems to reasoning about initialization order, device availability, and permissions at runtime. By the end of the book, you'll be able to develop maintainable Zephyr applications, adapt them to different hardware configurations, and confidently scale your codebase across projects and teams.
*Email sign-up and proof of purchase requiredWhat you will learn
Set up a reproducible Zephyr development environment and West workspace
Structure apps and modules
Navigate the Zephyr build flow and inspect key generated outputs
Configure features with Kconfig
Describe and customize hardware using DeviceTree
Use common subsystems: GPIO, I2C, adc, logging, and shell
Apply user mode to enforce security
Control peripherals from applications using drivers
Who this book is forThis book is for embedded developers and engineers transitioning to Zephyr from traditional RTOSes, bare-metal environments, or embedded Linux. It is aimed at readers with experience in embedded C who want to adopt Zephyr as a scalable platform for building portable systems that can be deployed consistently across multiple boards and development teams.
Contents
Table of Contents
Introducing the Zephyr Project
Structuring and Building Zephyr Applications
Configuring Zephyr Applications with Kconfig
Using DeviceTree for Describing Hardware
Exploring Zephyr's Device Driver Model
System Initialization and Multithreading
Working with Zephyr Subsystems
User Mode in Zephyr



