How To Use Zephyr Overlays

Nov. 19, 2021
Zephyr is a compact RTOS designed for resource constrained systems. This video highlights the use of code overlays.

This article is part of TechXchange: RTOS: Zephyr Project

The Zephyr Project is a compact RTOS designed for resource constrained systems. This video highlights the use of code overlays. These allow customization of firmware images for particular hardware targets. For instance, we might use the "device tree overlay" to change which pin we are targeting for a signal assigned to LED0. In this particular example, we are showing how to change the pins for the ESP32 demo.

This is a further explanation of the device tree overlay shown in the LightDB Demo Videos: Part 1 and LightDB Demo Videos: Part 2.

Fast Forward

  • 0:00 Introduction
  • 0:45 2 types of Zephyr overlays
  • 2:15 Configuring a GPIO using an device overlay
  • 4:00 LightDB example on ESP32 6:30 Looking at a configuration overlay
  • 8:00 Tweaking memory and enabling libraries
  • 10:30 Where to look in Zephyr directories
  • 13:15 Connecting LEDs to pins
  • 15:10 The difficulties of porting between boards/chips (before Zephyr)
  • 19:15 Reviewing source code
  • 23:10 Extending the idea to other GPIO examples
  • 24:00 Conclusion

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!