Zephyr has become a leading open-source real-time operating system for connected, resource-constrained devices. This book is a practical, in-depth guide to engineering production-grade Zephyr firmware, from first boot to fleet-scale operation.
It opens with Zephyr's architecture and build system - initialization levels, Kconfig, devicetree, CMake, and west - then works through real-time scheduling and latency engineering, memory protection and footprint optimization, and high-performance device drivers and I/O pipelines. Dedicated chapters cover power management and energy-aware design, secure connectivity and networking performance, and storage, filesystems, and data integrity.
The second half focuses on trust and operations: secure boot and chains of trust with MCUboot, TF-M and PSA isolation, resilient over-the-air updates, device attestation, and supply-chain security. It closes with observability, verification, and fleet management - logging, tracing, coredumps, coverage, fuzzing in emulation, benchmarking, and safe rollouts.
Written for embedded engineers, firmware developers, and system architects, it assumes working C and embedded experience and builds toward confident, secure, and maintainable Zephyr deployments.