Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Zephyr Part 3: Kconfig Tutorial

Digi-Key via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
This 54-minute tutorial video explores the Kconfig configuration system in the Zephyr RTOS, teaching how to use menuconfig to customize embedded applications without hardcoding options. Learn to create a random number generator application while resolving build errors related to missing Kconfig symbols. Discover how to navigate the text-based menuconfig interface, search for configuration options, and enable features needed for your project. Master the management of multiple configuration files by separating general app settings from board-specific overrides, making your code more portable across different hardware. The tutorial also covers creating custom Kconfig symbols in separate modules for conditional compilation, allowing you to add or remove features at build time. By the end, gain confidence in using Zephyr's configuration system to streamline development workflows and reduce complexity in embedded projects. Supplementary materials include a written version of the tutorial, GitHub repository with challenge solutions, and links to official Zephyr documentation.

Syllabus

0:00 Intro
1:55 Random Number Generator Demo Application
8:44 Menuconfig for Random Number Generator
18:44 Saving Kconfig Settings
29:25 Building and Flashing the Random Number Demo
31:03 Custom Kconfig Symbol
36:10 Out-of-Tree Zephyr Module
42:20 Menuconfig for Custom Kconfig Symbol
46:04 Preprocessor Conditionals
48:27 Challenge: Print Floating Point Values
53:24 Conclusion

Taught by

Digi-Key

Reviews

Start your review of Introduction to Zephyr Part 3: Kconfig Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.