Course Overview
### Learn Zephyr RTOS from the ground up with a clear, structured foundation path ###
The embedded industry is shifting. Zephyr RTOS, backed by the Linux Foundation, is rapidly becoming the default choice for production IoT and embedded products. Nordic, NXP, Intel, STMicroelectronics, and dozens of other companies are building their ecosystems around it. No other RTOS brings together a unified build system, DeviceTree based hardware abstraction, and a porting workflow that works across MCU vendors in a single codebase. If you are an embedded engineer and you do not know Zephyr yet, you are falling behind.
This course turns you into the engineer who can take any Zephyr supported MCU, write DeviceTree for it from scratch, port it as a custom board, and build real applications on top of it. Not by copying from samples or following a pre-configured dev kit tutorial. By understanding the complete workflow from the ground up.
Here is what you will be able to do by the end of this course:
- Set up the complete Zephyr workspace and toolchain on Windows, Ubuntu, and MacOS
- Build and run your first Zephyr applications on QEMU and on real hardware
- Configure your Zephyr project using prj.conf, menuconfig, and Kconfig
- Write DeviceTree from scratch for a custom board and understand every node and property
- Port your own board into Zephyr with the full board directory and configuration setup
- Build real applications using interrupts, threads, and workqueues on your custom hardware
- Debug common DeviceTree and build issues with a repeatable step by step process
Zephyr is not just another RTOS. It is where the industry is heading. Companies building IoT products, wearables, industrial controllers, and connected devices are choosing Zephyr because it gives them one codebase that works across multiple chip vendors. The engineer who can bring up a custom board in Zephyr and write DeviceTree is the one who gets the interesting projects, the better roles, and the trust of the team. That skill set is rare right now. This course builds it.
Most Zephyr resources out there show you how to run samples on a supported dev kit. That is the easy part, and you can do it by reading the documentation. This course teaches you the skills that actually matter at work: writing DeviceTree from scratch, creating your own board files, and debugging the problems that show up when you step off the beaten path. Very few Zephyr courses go this deep into DeviceTree and board porting. This one does.
This course is built for:
- Embedded engineers who want to use Zephyr on their own custom hardware
- Engineers who tried Zephyr before but got stuck at DeviceTree or board porting
- Firmware developers, students and hobbyists moving from bare metal or FreeRTOS to Zephyr
Note on using AI assisted coding in this course
In the final project, we use AI-assisted coding to build a real embedded application. We deliberately save this for last. First, you build the foundation. You understand how Zephyr works. You can debug issues on your own. Only then do we bring in AI tools to show you how they can speed up your workflow when you actually know what you are doing. Understand first, accelerate later.
By the end of this course, you will not just know Zephyr. You will be the engineer who can take a bare board, bring it up in Zephyr, and build real applications on it. If that is the engineer you want to become, enroll now. Let us get started.
Hardware Requirement (for hands on practice)
This course uses the Fastbit STM32 Nano board, based on the STM32F303 microcontroller.
You can also follow along using any STM32 or Zephyr supported development board you already have.
If you want to use the exact board used by the instructor, you can explore the Fastbit STM32 Nano board and follow along one to one
FAQ
FAQ area empty
Course curriculum
Chương 1 Zephyr workspace and toolchain setup 11 bài · 45 phút
- Why Zephyr? Học thử 3:25
- Zephyr RTOS setup [Windows] Học thử 6:51
- Zephyr RTOS setup [Ubuntu] Học thử 4:50
-
Zephyr RTOS setup [MacOS] 5:26
-
Setting up Python virtual environment 5:03
- Installing West Học thử 3:45
- Important Note: Zephyr Installation Version Học thử
-
Clone Zephyr using West and install Python build tools 5:48
-
Installing Zephyr Python requirements via pip 5:23
-
Installing the Zephyr SDK 4:08
-
Course repository
Chương 2 Build and run your first Zephyr application 2 bài · 25 phút
-
Building and testing the Zephyr Hello World application on QEMU 17:53
- Running the Zephyr Blinky application on real hardware. Học thử 7:27
Chương 3 Zephyr application structure and configuration basics 6 bài · 35 phút
- Application development in Zephyr: introduction Học thử 4:40
-
Creating an application in Zephyr 2:54
-
Understanding the important files in a Zephyr application 7:32
-
Understanding the important files in a Zephyr application (continued) 4:27
-
Prj.conf file and configuration items: menuconfig and .config explained 9:45
-
Application specific Kconfig file 6:05
Chương 4 Zephyr application 001 LED Blinky on a custom board 3 bài · 25 phút
-
Zephyr application 001: LED Blinky on a custom board 4:58
-
Creating a new application 3:48
-
What is DeviceTree and why it matters 15:53
Chương 5 Writing DeviceTree from scratch for a custom board 14 bài · 1 giờ 49 phút
-
Key DeviceTree files and types 3:56
-
Writing DeviceTree from scratch for your board 7:18
-
Creating a minimal DTS file layout 8:25
-
Updating DTS file includes 1:23
-
Understanding DeviceTree nodes 9:34
-
Understanding DeviceTree properties: 'reg' property and its significance 12:12
-
Using the 'compatible' property 3:53
-
How to select compatible strings and DT binding document 9:04
-
Compatible strings in a driver 3:48
-
About root level 'compatible' property 1:46
-
'phandle' property in DeviceTree 12:16
-
'phandles' property in DeviceTree 12:21
-
'phandle-array' type 14:09
-
Understanding specifier space of the 'phandle-array' type 9:04
Chương 6 Zephyr Blinky on a custom board: board porting and bring up 12 bài · 1 giờ 21 phút
-
Understanding LED blinking in Zephyr (App to driver layer) 9:52
-
Adding an LED node to the DTS file 5:48
-
Zephyr board directory setup: Part 1 9:15
-
Zephyr board directory setup: Part 2 (board Kconfig) 5:44
-
Zephyr board directory setup: Part 3 (board defconfig) 6:01
-
Build flow of zephyr application 9:36
-
Building and configuring the Zephyr application 3:24
-
Fixing DTS related issues 11:10
-
Manual Flash and SRAM configuration 7:33
-
Flash and RAM address setup: best practices 1:36
-
About 'choosen' node 5:20
-
Flashing and testing the Blinky application on the custom board 5:36
Chương 7 Zephyr application 001: Writing the Blinky application for a custom board 6 bài · 58 phút
-
Using DT Macros 14:57
-
How Zephyr turns DeviceTree nodes into device instances 9:18
-
Zephyr GPIO APIs and macros to control GPIO pins 6:28
-
Configure stdout logs to UART console and test 12:26
-
Add a custom property to a standard DeviceTree node 9:32
-
Application overlays 5:03
Chương 8 Zephyr application 002 : Interrupt driven LED burst with workqueue 12 bài · 1 giờ 37 phút
-
Introduction 2:35
-
Basic setup 11:12
-
Configuring button and interrupt 13:17
-
Adding button node in DT 6:10
-
Button ISR implementation 9:25
-
Message queues and queues 8:35
-
Creating threads in zephyr 5:57
-
Thread handler implementation 8:40
-
About Workqueues 4:57
-
Using workqueues 7:58
-
Workqueue handler 9:25
-
Summary and build 8:58
Chương 9 Spinlock, Mutex, Interrupt lock/unlock 3 bài · 23 phút
-
Shared data and spinlock 9:03
-
Mutex and Interrupt lock/unlock APIs 9:30
-
Choosing the right tool 4:38
Chương 10 Zephyr application 003 : Tilt based brick breaker game with AI assisted coding 32 bài · 2 giờ 55 phút
-
Introduction 3:03
-
Game development plan explanation 4:58
-
Basic project setup 2:49
-
About AI assisted coding 4:04
-
Claude Code installation and basic setup 6:28
-
Adding Claude Code to VS code 1:41
-
About slash commands and project initialization 8:55
-
Creating specification document spec.md 7:03
-
Reading Schematic and user manual to extract key information using AI 3:58
-
Updating project features , gameplan and requirements in spec.md 9:05
-
Updating spec.md with device orientation details 8:04
-
Summary so far 2:14
-
Adding Kconfig items related to LCD orientation 4:44
-
Verifying LCD orientation Kconfig items in menuconfig 2:38
-
Display bringup plan with checkpoints 7:38
-
Implementing chekpoint 1 : DT nodes and smoke test for display 4:56
-
Understanding &spi1 device tree node 11:32
-
Understanding MIPI DBI controller and Display DT nodes 16:36
-
Display testing with smoke test code 3:59
-
Fixing colour issue 8:05
-
Display testing with different orientation 6:36
-
Implementing and testing game startup/splash screen 2:41
-
Implementing and testing game play screen 4:27
-
About slow display rendering 1:20
-
Generating plan to increase display rendering speed 6:19
-
Configuring PLL and RCC through Device Tree nodes to boost the system clock 11:04
-
Next : Implementing Game end screen and full game sequence 0:37
-
Gameplay introduction 1:47
-
Implementing ball movement 3:41
-
Designing common input interface 4:01
-
Paddle control using tilt 5:07
-
Making paddle movement responsive 4:22
Requirment
-
Basic 'C' programming knowledge.
-
Basic understanding of microcontrollers.
-
No prior Zephyr experience needed. We start from zero
Outcomes
-
Write DeviceTree from scratch for any custom board, not just copy from existing samples
-
Port a custom board into Zephyr with the complete board porting workflow
-
Build real Zephyr applications using interrupts, threads, workqueues, and message queues on custom hardware
-
Debug common DeviceTree and build issues using a repeatable step by step process
-
Set up the complete Zephyr workspace and toolchain on Windows, Ubuntu, and MacOS
-
Understand how a Zephyr application is organized, how the build system works, and how all the pieces connect
-
Configure your Zephyr project using prj.conf, menuconfig, and Kconfig the practical way
-
Use DeviceTree macros and GPIO APIs to control hardware pins from your Zephyr application
-
Configure UART console output for stdout logs and test your application on real hardware
-
Use application overlays to customize DeviceTree without modifying the base DTS files
-
Implement interrupts and button handling using ISR, DeviceTree nodes, and GPIO callbacks
-
Create and manage threads in Zephyr
-
Flash and test your Zephyr application on a real custom board
-
Add custom properties to standard DeviceTree nodes and access them from your application code
-
Set up and use AI-assisted coding with Claude Code for embedded projects
0 Student
5 Courses
0 review