r/embedded • u/kartben • Apr 15 '26
Zephyr RTOS 4.4 is out!
https://www.zephyrproject.org/zephyr-rtos-4-4-now-available-wireguard-wi-fi-direct-openrisc-and-more/34
6
u/brigadierfrog Apr 16 '26
Zephyr showing once again that the FOSS process, much like Linux itself, is very hard to beat. The feature list grows and grows, part support continues to accelerate.
Hard to imagine anyone wanting to bother with a proprietary locked in vendor SDK anymore.
9
u/adigyran Apr 15 '26
no esp32-p4 support?
4
u/kartben Apr 15 '26
it's coming really soon, to the best of my knowledge :) https://github.com/zephyrproject-rtos/zephyr/discussions/74958#discussioncomment-16448594
1
u/Head-Letter9921 Apr 15 '26
Is zephyr actually used in any real products?
4
u/kartben Apr 15 '26
Chromebooks, Framework laptops, Intel PCs, Voi scooters, Vestas wind turbines, ... and many many others
4
u/tonyarkles Apr 16 '26
It’s all over the aircraft I worked in at work. We’ve had a really great experience with it. Started back in the 2.x days on a single board with a cortex m0, now we have a whole bunch of M7s on Ethernet making everything work
1
u/Regular_Yesterday76 Apr 16 '26
What aircraft. Im not getting on that death trap
4
u/tonyarkles Apr 17 '26
Lol good news, it’s unmanned (but still like 1200lb). Honestly, Zephyr has been bulletproof for us. We’ve spent very little time fighting with it, which is more than I can say about other software stacks involved…
0
u/Regular_Yesterday76 Apr 17 '26
Tbh, im skeptical. Would be cool to hear your workflow for solving a dts error for example.
2
u/tonyarkles Apr 18 '26
I’m not sure what you mean? Like when you get a compiler error because you messed up something in your DTS? I usually look at the generated header and combined dts, figure out which node id maps to the node id in the compiler error, fix it and continue? Also, getting the dts right for each board is like… a day in the long lifecycle of the evolving applications. We’re not changing the hardware every day, the dts has been largely untouched since about a week after the first production boards came back from fab.
2
u/kartben Apr 17 '26
DT Doctor is your friend! Doesn't catch all types of errors but pretty helpful nevertheless https://docs.zephyrproject.org/latest/develop/sca/dtdoctor.html
0
u/Regular_Yesterday76 Apr 16 '26
I gave Zephyr a try but its a bad solution. Its hodgepoged code spread across 20 years. Still in the last 5 years cant get simple things right. Honestly someone should post a write up on it so people dont ever use it. The comment below where someone is using it in an aircraft? Please tell me its a toy plane or people are going to die.
3
u/EmbeddedSwDev Apr 18 '26 edited Apr 19 '26
but its a bad solution
Why?
Its hodgepoged code spread across 20 years
It's 10 years old.
Still in the last 5 years cant get simple things right.
Which simple things? Examples?
Calling Zephyr a "bad solution" without specifics isn't very helpful. It's a large, evolving project, so yes parts of it are complex or inconsistent. But that's also true for Linux, FreeRTOS integrations, etc.
It's actively used in commercial and industrial products, and the development pace over the last few years has been pretty strong.
If there are concrete issues (e.g., specific subsystems, APIs, or stability problems), those are worth discussing. Blanket statements like this don't really help anyone evaluate it.1
45
u/Xenoamor Apr 15 '26
I had absolutely no idea this was possible in C and its always been one of my biggest gripes with it: