Benjamin Cabé

Zephyr Weekly Update – Yes we CAN

Zephyr Weekly Update - May 5, 2023

Zephyr Weekly Update - May 5, 2023

As we’re entering a new month, I would like to start this week’s update with a quick look at some interesting metrics for the month of April, taken from the GitHub repository. And we are getting dangerously close to 500 boards supported upstream!

While I have your attention, I would also like to encourage you to take the Eclipse IoT Developer Survey and take some time to provide your input with regards to your embedded and IoT practices (which programming language or RTOS you use–hint, hint!–to hardware architectures, software supply chain management practices, etc).

And without further ado, let’s dive into this week’s noteworthy Zephyr contributions!

New boards, shields & SOCs

XMC4700 relax kit from Infineon.

Drivers

Shell improvements

The Zephyr shell is definitely one of my favorite features. Its extensibility and ease-of-use to quickly expose “helpers” that help monitoring and troubleshooting an application are super convenient, and it’s great to see it got some love this week.

The Zephyr shell has been enhanced to allow capturing and retrieving return values from executed commands, making it easier for developers to diagnose issues and understand the outcomes of shell commands. Just use the retval command to get the return code of the command that was executed last.

uart:~$ sensor info
device name: hts221@5f, vendor: STMicroelectronics, model: hts221, friendly name: (null)
device name: lis2mdl@1e, vendor: STMicroelectronics, model: lis2mdl, friendly name: (null)
device name: lps22hb-press@5c, vendor: STMicroelectronics, model: lps22hb-press, friendly name: (null)
device name: lsm6dsl@6a, vendor: STMicroelectronics, model: lsm6dsl, friendly name: (null)
uart:~$ helpp
helpp: command not found
uart:~$ retval
-8

Debugging and Testing updates

Miscellaneous


As always please feel free to jump in with your thoughts or questions in the comments below. See you next week!

If you enjoyed this article, don’t forget to subscribe to this blog to be notified of upcoming publications! And of course, you can also always find me on Twitter and Mastodon.

Catch up on all the editions of the Zephyr Weekly Update:

Exit mobile version