Error handling is tricky. On one side, the caller needs to react to errors. On the other side, the more error details you pass back, the more complex the caller code becomes. Complex code means harder to read, harder to maintain, and more bugs. An...
Sysbuild is a higher-level build system that can be used to combine different modules that are not in the necessary under the same project like MCUmgr and MCUBoot. It’s a great tool and it’s part of the Zephyr ecosystem, but sometimes can be a pa...
In a previous post, I mentioned that I’ve been working a lot with the Linux and Zephyr RTOS code lately. Most of the time, I’m either tuning the device tree spec (DTS) or patching the kernel or writing drivers. I learned a lot about how Linux org...
I’m working lately a lot with embedded linux, and most of the time is either tuning the device tree spec (dts) or patching the kernel. So while debugging and patching the kernel I learned a lot about how linux organize the code and its use of th...
I’m pretty sure you’ve already heard about recursion. If not, check out these videos first: