Skip to main content
BlogZephyr Developer Summit

Zephyr RTOS Testing

By October 25, 2023No Comments

The Zephyr Developer Summit, hosted under the first-ever Embedded Open Source Summit in Prague, Czech Republic, on June 27-30 included presentations, BoFs, and training designed for real time problem solving and deep discussions. More than 1,300 people registered for the EOSS conference – representing 375 organizations across 56 countries around the globe. Zephyr had 75+ technical sessions (in-person and on-demand) for 3 tracks focused on users of Zephyr, developers contributing upstream, and maintainer-specific topics.

All of the videos from the Zephyr Developer Summit can be found on the Zephyr Youtube Channel. Each week, we’ll highlight a few videos in a blog for easy access. Today, we’re featuring a few sessions focused on testing including, “Testing a Wireless IoT Product: Things We Wish Someone Told Us Before, and “Zephyr Off-Chip Peripheral Emulation,”

Testing a Wireless IoT Product: Things We Wish Someone Told Us Before – Andreas Müller, Head of Embedded Development, & Reto Schneider, Senior Embedded Developer, Gardena (Husqvarna Group)

One important aspect of a comprehensive test strategy for an IoT product is automated testing using physical devices. Hardware-based testing comes with its own set of challenges, and this is particularly true for wireless devices. Luckily, many building blocks – great open source frameworks as well as various hardware tools – are readily available. In this presentation, Andreas and Reto share their experiences from testing a Zephyr-based implementation of a proprietary sub-GHz wireless protocol. They explain how to shield a testbed from unwanted RF interference and how to re-introduce interference deterministically, discuss a few adventures with USB, which hardware tools they found useful, and when even a really cheap tool may be sufficient in place of expensive test equipment. On the software side, the presentation discusses various useful features of Zephyr, the use of pytest for testing with physical devices, as well as some other valuable open source tools, such as GNU Radio and Scapy. While testing physical products in a noisy RF-environment can be a difficult challenge, this presentation shows how various tools and open source products help make the task a lot more accessible for everyone.


Zephyr Off-Chip Peripheral Emulation – Aaron Massey, Software Engineer at Google

This lightning talk focuses entirely on Zephyr emulation for off-chip peripheral driver testing. Topics of focus: What’s a peripheral emulator? How can Zephyr emulate off-chip peripheral devices? How is this any different from Qemu? Is emulation difficult and is it worth the investment?
Watch the rest of the Zephyr Developer Summit videos here. The schedule and links to the PPT presentations can be found here. Photos from the EOSS can be found here.

For more information about the 2024 event, stay tuned by subscribing to the Zephyr quarterly newsletter or connect with us on @ZephyrIoTZephyr Project LinkedIn or the Zephyr Discord Channel to talk with community and TSC members.

Zephyr Project