Zephyr RTOS Tutorials
Complete Zephyr RTOS tutorial series covering the build system, kernel services, device drivers, and networking for modern embedded platforms.
Install the Zephyr SDK, west tool, and configure your first board target.
Zephyr architecture, supported boards, and how it compares to other RTOSes.
Using west workspace tool, CMake, Kconfig, and devicetree to build projects.
Hardware description with devicetree overlays and compile-time configuration with Kconfig.
Zephyr kernel overview — cooperative vs preemptive scheduling, system clock, and ticks.
Creating threads, priority levels, time-slicing, and the scheduler internals.
Heap, memory slabs, memory pools, and stack allocation strategies.
Semaphores, mutexes, condition variables, and spinlocks for safe resource sharing.
Inter-thread data passing using message queues, FIFOs, LIFOs, and pipes.
Kernel timers, delayed work, and system work queues for deferred processing.
ISR registration, interrupt nesting, zero-latency IRQs, and offloading work.
GPIO API, pin control subsystem, and writing board-agnostic peripheral drivers.
Zephyr's driver API, device binding, initialization levels, and writing custom drivers.
Using the Zephyr shell subsystem and structured logging for debugging.
Zephyr network stack, BSD sockets API, and connecting to Wi-Fi or Ethernet.
GDB, west debug, coredumps, SystemView tracing, and fault analysis.